How to produce HTML unit test output in Python?

nose, python, unit-testing

Solution

There are now ways to do it using Python. Using `pytest`, for example:

pip install pytest pytest-html

And then:

pytest --html=report.html --self-contained-html

Problem

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: (source: ibm.com) Ruby RSpec output: (source: natontesting.com)

Original source

Related problems