views:

471

answers:

3

I'm looking for any way to display the results of python unit tests in an html summary. There are tools like this for Java and Ruby... haven't yet located any tools that seem to do this for Python. Are there any out there?

JUnit html output:

alt text

Ruby RSpec output:

alt text

A: 

There is a similar question answered here: http://stackoverflow.com/questions/767377/nice-html-reports-for-pyunit

m00nd4wg
yeah... that answer just says "write your own" :P
perrierism
A: 

I have code to output pyunit results in the XML format that is support by ant's junitreport task. I need to dig it out and opensource it.

John Keyes
A: 

Yes, there is something like that written, it's at http://tungwaiyip.info/software/HTMLTestRunner.html. Here is the sample output: http://tungwaiyip.info/software/sample%5Ftest%5Freport.html

perrierism