py.test and HTML output

Victor Ng crankycoder at gmail.com
Tue Sep 19 21:45:38 CEST 2006


Is there documentation anywhere on how to get py.test to emit nice
HTML output like the kind that they have for the PyPy project here:
http://codespeak.net/~hpk/pypy-testresult/ ?

Should I just redirect the stdout to a StringIO and parse the output
and generate the HTML myself?  I see that there's a htmlreport.py in
pypy, but I'm not sure how to use it.

vic

-- 
"Never attribute to malice that which can be adequately explained by
stupidity."  - Hanlon's Razor



More information about the Python-list mailing list