PyPI version Supported Python versions Build status Codecov Code coverage ReadTheDocs status

virtue is a modern, extensible, unittest compliant test runner.

It is not a test framework (it doesn’t contain a TestCase subclass and it never will).


Running a unittest-based suite works essentially as it does for twisted’s trial, i.e.:

$ python -m virtue mypackage.tests

will run the tests subpackage of a given importable package.

More docs are coming. Sorry.


I’m Julian Berman.

virtue is on GitHub.

Get in touch, via GitHub or otherwise, if you’ve got something to contribute, it’d be most welcome!

You can also generally find me on Freenode (nick: tos9) in various channels, including #python and #python-testing.

If you feel overwhelmingly grateful, you can also woo me with beer money via GitHub Sponsors above.