The pytest-embrace plugin enables judicious, repeatable, lucid unit testing using. Check out the docs for more.