Files
SpacetimeDB/smoketests/README.md
Tyler Cloutier 363f9212aa Add Rust smoketests to CI with nextest, keep Python smoketests running
- Rename existing smoketests job to use cargo smoketest (xtask) which
  handles pre-building binaries, using nextest, and optimal parallelism
- Add cargo-nextest installation step for better parallel execution
- Add new "Smoketests (Python Legacy)" job that runs the old Python
  smoketests alongside the Rust ones for comparison during transition
- Add warn-python-smoketests job that posts a PR comment when Python
  smoketests are modified, encouraging use of Rust smoketests instead
- Update smoketests/README.md to note the transition to Rust smoketests
2026-01-26 12:46:41 -05:00

626 B

Python Smoketests (Legacy)

Note: These Python smoketests are being replaced by Rust smoketests in crates/smoketests/. Both test suites currently run in CI to ensure consistency during the transition.

For new tests, please add them to the Rust smoketests. See crates/smoketests/DEVELOP.md for instructions.


Running the Python Smoketests

To use the smoketests, you first need to install the dependencies:

python -m venv smoketests/venv
smoketests/venv/bin/pip install -r smoketests/requirements.txt

Then, run the smoketests like so:

smoketests/venv/bin/python -m smoketests <args>