Ned Batchelder avatar Ned Batchelder committed 1bd4763

A way to run tests on 2.3 and 2.4

Comments (0)

Files changed (2)

 
 - For complete coverage testing:
 
-    $ COVERAGE_COVERAGE=yes tox
-    $ python igor.py combine_html
+    $ make metacov
+
+    This will run coverage under its own measurement.  You can do this in
+    different environments (Linux vs. Windows, for example), then copy the
+    data files (.coverage.meta.*) to one machine for combination and
+    reporting.  To combine and report:
+
+    $ make metahtml
+
+- For testing on Python <= 2.4:
+
+    - Set up the Python as your current python, probably with a virtualenv.
+    - $ . ./test_old.sh
 
 - To run the Javascript tests:
 
+# Steps to prepare and run coverage.py tests, for Pythons < 2.5
+# This should do the same steps as tox.ini
+easy_install nose==1.2.1 mock==0.6.0
+python setup.py --quiet clean develop
+python igor.py zip_mods install_egg remove_extension 
+python igor.py test_with_tracer py
+python setup.py --quiet build_ext --inplace
+python igor.py test_with_tracer c
Tip: Filter by directory path e.g. /media app.js to search for public/media/app.js.
Tip: Use camelCasing e.g. ProjME to search for ProjectModifiedEvent.java.
Tip: Filter by extension type e.g. /repo .js to search for all .js files in the /repo directory.
Tip: Separate your search with spaces e.g. /ssh pom.xml to search for src/ssh/pom.xml.
Tip: Use ↑ and ↓ arrow keys to navigate and return to view the file.
Tip: You can also navigate files with Ctrl+j (next) and Ctrl+k (previous) and view the file with Ctrl+o.
Tip: You can also navigate files with Alt+j (next) and Alt+k (previous) and view the file with Alt+o.