Skip to main content

Testing

To run the superduperdb tests, for a particular version of the code, checkout that version with this command:

git clone https://github.com/SuperDuperDB/superduperdb.git
git checkout <MAJOR>.<MINOR>.<PATCH> # e.g. 0.1.0

Install the requirements for that version:

pip install -e .[dev]

To run the unittests run:

pytest -n auto test/unittest

To run the integration tests, it's necessary to build and initializing the testing environment:

make testenv_image
make testenv_init

Run the integration tests with:

pytest test/integration

To run the additional quality checks which we run on the CI/ CD on GitHub, run:

make lint-and-type-check