Added coverage analysis to the testrunner. Execute it with the --
coverage flag and it will generate code coverage reports in the html
directory (you'll need to have figleaf installed). It removes the
directory on each coverage run so you'll get coverage only on the
tests you ran last. Sort of neat.

http://github.com/ialbert/pygr-windows/tree/master

Here are the currently known flags  to runtest.py

        python runtest.py -h

Usage: runtest.py [options]

Options:
  -h, --help            show this help message and exit
  -n, --nopath          do not alter the python import path
  -b, --buildpath       use the platform specific build directory
  -s, --strict          stops testing after a test suite fails
  -x, --exclude         excludes the files that are listed
  -v VERBOSITY, --verbosity=VERBOSITY
                        sets the verbosity (0, 1, or 2)
  --coverage            runs figleaf and collects the coverage
information
  --performance         runs the performance tests (not yet
implemented)

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"pygr-dev" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/pygr-dev?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to