diff doc/admin_guide.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 b2eb59ada444
children c63df349f319
line wrap: on
line diff
--- a/doc/admin_guide.txt	Mon Dec 14 21:25:56 2020 -0500
+++ b/doc/admin_guide.txt	Sun Dec 20 11:08:57 2020 -0500
@@ -262,9 +262,15 @@
 Always make a backup of your tracker before upgrading software. Steps you may
 take:
 
-1. Ensure that the unit tests run on your system::
+1. Install pytest and ensure that the unit tests run on your system
+   (using your preferred python version)::
 
-    python run_tests.py
+    pip2 install pytest
+    python2 -m pytest test/
+
+
+    pip3 install pytest
+    python3 -m pytest test/
 
 2. If you're using an RDBMS backend, make a backup of its contents now.
 3. Make a backup of the tracker home itself.

Roundup Issue Tracker: http://roundup-tracker.org/