The integration test suite is an end-to-end test suite that uses Selenium and Firefox to verify Nimbus functions properly for users.
You must have Docker installed.
- Create a python virtual environment
make refresh SKIP_DUMMY=1to initialize the DB and setup Nimbus.
- Run the
- Run the following command to run the integration tests:
To pass custom parameters to pytest use the environment variable
To run the legacy tests follow steps 1-3 above. Then run this command:
make integration_test_legacy. This will run the legacy experimenter test suite.
#Running a single test
If you would like to run just 1 test, pass this flag to PYTEST_ARGS with the test name you would like to run:
make integration_test_nimbus PYTEST_ARGS=-ktest_archive_experiment