Search code examples
pythonunit-testingtornadocoverage.py

Coverage support for tornado test runner


I need to get coverage reports for a project I've based in tornado.

But I can't get the configuration for coverage to use the tornado runner instead of the one in the standard library.


Solution

  • Usually it's just

    coverage run /the/test/runner options to test runner
    

    sometimes with a --source=thepackage to remove cruft.

    What happens when you run that?