[TIP] pytest-fixture-marker: A pytest plugin to run only the tests that use a fixture

Radu Ciorba radu at devrandom.ro
Tue Jan 8 06:42:20 PST 2019


Hello,

I wrote a plugin to allow running only the tests that use a certain fixture. It does this by auto-injecting markers on each test, based on the fixtures used.

It came in handy while refactoring fixtures, so I'd like to share it.

https://github.com/rciorba/pytest-fixture-marker

Feedback is welcome.

Regards,
Radu



More information about the testing-in-python mailing list