diff --git a/docs/development_testing.md b/docs/development_testing.md index 79793400..64cdc211 100644 --- a/docs/development_testing.md +++ b/docs/development_testing.md @@ -18,6 +18,8 @@ Running Tox will run unit tests against the locally available Pythons, as well a Tox uses virtual environments under the hood to create isolated testing environments. The tox virtual environments will get out-of-date when requirements change, causing test errors. Run `tox -r` to tell Tox to recreate the virtual environments. +### Adding new dependencies to test environment + If you are working on tests for a component or platform and you need the dependencies available inside the Tox environment, update the list inside `script/gen_requirements_all.py`. Then run the script and then run `tox -r` to recreate the virtual environments. ### Running single tests using Tox