summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJosh Smith <joshsmith@codethink.co.uk>2018-08-02 10:06:16 +0100
committerJosh Smith <joshsmith@codethink.co.uk>2018-08-02 10:12:16 +0100
commit4d2e8a14f9a3309eb3d95382a7887e366ea598b7 (patch)
tree678194446d4a87ac7e50f932b213588ffb3e0db9
parent592c90616284adaba5a30fae56dad3760226dee4 (diff)
downloadbuildstream-Qinusty/docs_changes.tar.gz
HACKING.rst: Add running a single test exampleQinusty/docs_changes
-rw-r--r--HACKING.rst5
1 files changed, 5 insertions, 0 deletions
diff --git a/HACKING.rst b/HACKING.rst
index 67797d6eb..78419a69b 100644
--- a/HACKING.rst
+++ b/HACKING.rst
@@ -470,6 +470,11 @@ the frontend tests you can do::
./setup.py test --addopts '-k tests/frontend/'
+Specific tests can be chosen by using the :: delimeter after the test module.
+If you wanted to run the test_build_track test within frontend/buildtrack.py you could do::
+
+ ./setup.py test --adopts '-k tests/frontend/buildtrack.py::test_build_track'
+
We also have a set of slow integration tests that are disabled by
default - you will notice most of them marked with SKIP in the pytest
output. To run them, you can use::