Mercurial > p > roundup > code
comparison doc/debugging.txt @ 6297:a635a60ffb84
Remove standalone pytest run_tests.py bundle
Newer pytest doesn't support generating stand alone testing
bundles. Python 3.9 generates errors running the current run_tests.py.
Changed doc to use pythonX -m pytest test/ and some light directions
on how to install pytest.
Thanks to jerrykan for recommendations on how to do the doc updates.
| author | John Rouillard <rouilj@ieee.org> |
|---|---|
| date | Sun, 20 Dec 2020 11:08:57 -0500 |
| parents | b6f1aaba4827 |
| children |
comparison
equal
deleted
inserted
replaced
| 6296:6cf9f2f49b89 | 6297:a635a60ffb84 |
|---|---|
| 5 of ways, depending on what it is you're testing: | 5 of ways, depending on what it is you're testing: |
| 6 | 6 |
| 7 1. If you're testing the database unit tests, then set the environment | 7 1. If you're testing the database unit tests, then set the environment |
| 8 variable ``LOGGING_LEVEL=DEBUG``. This may be done like so: | 8 variable ``LOGGING_LEVEL=DEBUG``. This may be done like so: |
| 9 | 9 |
| 10 LOGGING_LEVEL=DEBUG python run_tests.py | 10 LOGGING_LEVEL=DEBUG python -m pytest test/ |
| 11 | 11 |
| 12 This variable replaces the older HYPERDBDEBUG environment var. | 12 This variable replaces the older HYPERDBDEBUG environment var. |
| 13 | 13 |
| 14 2. If you're testing a particular tracker, then set the logging level in | 14 2. If you're testing a particular tracker, then set the logging level in |
| 15 your tracker's ``config.ini``. | 15 your tracker's ``config.ini``. |
