diff --git a/docs/developers/devel-env.rst b/docs/developers/devel-env.rst index 32430404b0..c7d4fd3bf7 100644 --- a/docs/developers/devel-env.rst +++ b/docs/developers/devel-env.rst @@ -273,10 +273,10 @@ once so that subsequent running of the tests is faster: .. code-block:: bash - ./test.sh -u # build unit test containers, start up and initialise the database - ./test.sh [path-to-test-file.py] # run tests, do this as often as you need to - ./test.sh -s # stop test containers, but don't remove them - ./test.sh -d # stop and remove all test containers + ./test.sh -u # build unit test containers, start up and initialise the database + ./test.sh [path-to-tests-file-or-directory] # run specific tests, do this as often as you need to + ./test.sh -s # stop test containers, but don't remove them + ./test.sh -d # stop and remove all test containers If you made any changes to the frontend, you can run the tests for frontend using diff --git a/test.sh b/test.sh index ef9ee73cd3..68aaab086d 100755 --- a/test.sh +++ b/test.sh @@ -10,7 +10,7 @@ fi # ./test.sh build unit test containers, bring up, make database, test, bring down # for development: # ./test.sh -u build unit test containers, bring up background and load database if needed -# ./test.sh [params] run unit tests, passing optional params to inner test +# ./test.sh [path-to-tests-file-or-directory] # run specific tests # ./test.sh -s stop unit test containers without removing # ./test.sh -d clean unit test containers