Skip to content

Tests: functional correctness vs SQLite (rusqlite) #5

Description

@pszymkowiak

Create tests/correctness.rs that runs identical SQL on trdbte and rusqlite, comparing results:

  • CREATE TABLE + INSERT + SELECT * (basic round-trip)
  • WHERE with =, <, >, !=, AND, OR
  • UPDATE with WHERE
  • DELETE with WHERE
  • SELECT with ORDER BY ASC/DESC
  • SELECT with LIMIT
  • DROP TABLE
  • Integer, Float, Text, NULL value types
  • Multiple tables

Each test: run SQL on both engines, assert same results.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions