Simplify locating how to add dependencies to test environment (#122)

This commit is contained in:
Robert Svensson 2018-10-10 22:20:09 +02:00 committed by Fabian Affolter
parent c8aec83ccd
commit d9462eb621

View File

@ -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