How to produce html unit test output in Python?

2019-04-24 11:45发布

问题:

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 http://www.ibm.com/developerworks/java/library/j-grails03118/UnitTestReport.jpg

Ruby RSpec output:

alt text http://www.natontesting.com/wp-content/uploads/2009/09/rspec_output.gif