We currently have pytest with the coverage plugin running over our tests in a tests directory.
pytest
tests
What\'s the simplest way to also run doctest
Now it is implemented :-).
To use, either run py.test --doctest-modules command, or set your configuration with pytest.ini:
py.test --doctest-modules
pytest.ini
$ cat pytest.ini # content of pytest.ini [pytest] addopts = --doctest-modules
Man page: PyTest: doctest integration for modules and test files.