The project uses pytest for automated testing.
Run the regular test suite in tests/ with:
uv run pytestThe test suite covers:
- Public Python API behavior (
seriousdb.api) - CRUD operations
- Error handling
- Concurrent database access
- Logging
Each test uses an isolated temporary database so the test suite does not modify the local .sdb
database.
The benchmark scenarios run separately using the commands below.
From the repository root, run the benchmark suite with compact output and saved results:
uv run --locked --group benchmark -m benchmarksSee the benchmark guide for run instructions and guidance on comparing results. Individual benchmark functions document their workloads and timing boundaries.