Skip to main content
Version: Nightly

Tests

Choose the narrowest test that exercises the behavior you changed:

Test typeUse it forTypical command
Unit testLogic contained within one crate or componentcargo nextest run -p <package>
Sqlness testSQL, protocol, planner, execution, and end-to-end regressionscargo sqlness bare -t <case>
Integration testBehavior that crosses components or requires external servicescargo nextest run -p tests-integration
Compatibility testReading data or metadata written by an older releasecargo sqlness compat --from-version <version>

Run make test when a change needs the full Rust workspace test suite. Changes to persisted metadata, WAL records, SST files, or wire formats should also include a compatibility test when an older release may have produced the input.