summaryrefslogtreecommitdiff
path: root/HACKING.rst
diff options
context:
space:
mode:
authorTristan Van Berkom <tristan.vanberkom@codethink.co.uk>2017-09-04 04:08:34 -0400
committerTristan Van Berkom <tristan.vanberkom@codethink.co.uk>2017-09-04 04:14:54 -0400
commit2d6f0a291f310b6ece9cc9e434ab7d1ff3e8cdfe (patch)
tree646c8967f241c31f37b6882aba95b9d31a3e93bd /HACKING.rst
parent3b8b8f9cee23fc87502af801ad406e32bfc348b4 (diff)
downloadbuildstream-2d6f0a291f310b6ece9cc9e434ab7d1ff3e8cdfe.tar.gz
HACKING.rst: Adding a little reminder of how to invoke specific tests
Diffstat (limited to 'HACKING.rst')
-rw-r--r--HACKING.rst6
1 files changed, 6 insertions, 0 deletions
diff --git a/HACKING.rst b/HACKING.rst
index 022d8a5fa..cedace94e 100644
--- a/HACKING.rst
+++ b/HACKING.rst
@@ -219,6 +219,12 @@ You can always abort on the first failure by running::
./setup.py test --addopts -x
+If you want to run a specific test or a group of tests, you
+can specify a prefix to match. E.g. if you want to run all of
+the frontend tests you can do::
+
+ ./setup.py test --addopts -k --addopts 'tests/frontend/'
+
Adding Tests
~~~~~~~~~~~~