From d9462eb621b06e00bcec6afaf0ce95365c8cf8ff Mon Sep 17 00:00:00 2001 From: Robert Svensson Date: Wed, 10 Oct 2018 22:20:09 +0200 Subject: [PATCH] Simplify locating how to add dependencies to test environment (#122) --- docs/development_testing.md | 2 ++ 1 file changed, 2 insertions(+) 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