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
worked with doctest as well as with plain tests in one module. for a non-doctest test to be picked up, standard py.test discovery mechanism applies: a module name with test prefix, test function with test prefix.