X-Git-Url: https://wannabe.guru.org/gitweb/?a=blobdiff_plain;f=tests%2FREADME;h=ab2729b3b4951f92717b4f88b7f682a212c9ea8d;hb=6e7ee87b17b87abb3b598d39da6b4eed2c8e7697;hp=4553b739a8c40c2854c06caec1385e08c73b77a8;hpb=69566c003b4f1c3a4905f37d3735d7921502d14a;p=pyutils.git diff --git a/tests/README b/tests/README index 4553b73..ab2729b 100644 --- a/tests/README +++ b/tests/README @@ -2,7 +2,7 @@ This directory contains the (non-doctest) testcode for pyutils (i.e. unit tests and integration tests). It also contains a couple of helpers to run the tests. -The easiest way to run the tests is, from within this tests/ directory, run: +The easiest way to run the tests is, from within this tests/ directory, to run: ./run_tests_serially.sh -a @@ -19,11 +19,12 @@ Or: ./run_tests.py -d -Both of these runners store test output under ./test_output. +Both of these runners store test output under tests/test_output. Both of them can optionally use coverage (pip install coverage) to generate a -code coverage report: +code coverage report at the end of testing: ./run_tests.py --all --coverage -I use ./run_tests.py --all --coverage as a .git/hooks/pre-commit-hook. +I use ./run_tests.py --all --coverage as a .git/hooks/pre-commit-hook during +development.