trace2html 0.2.1 review

Download
by rbytes.net on

License: GPL (GNU General Public License)
File size: 25K
Developer: Olivier Grisel
0 stars award from rbytes.net

trace2html is a HTML coverage report generator for trace.py.

trace2html is a utility to convert execution coverage data obtained with the trace module of the standard Python library into a set of human readable HTML documents showing a sortable summary and annotated source files.

Installation:

As usual, you can either use `sudo easy_install -U trace2html` or extract the archive and run::

$ sudo python setup.py install

Sample usage:

Generate coverage data in the 'counts' file with trace.py::

$ /usr/lib/python2.4/trace.py -mc -C coverage_dir -f counts my_testrunner.py

Write a report in directory 'coverage_dir' from data collected in 'counts'::

$ trace2html.py -f counts -o coverage_dir
$ firefox coverage_dir/index.html

Load data from several files (the report is written to 'coverage_dir' by default)::

$ trace2html.py -f file1 -f2 file2
$ firefox coverage_dir/index.html

What's New in This Release:
Packaging bugs in the source distribution (missing files) were fixed.

trace2html 0.2.1 search tags