[pytest-dev] Test discovery by subclassing

Dave dave.hirschfeld at gmail.com
Mon Apr 18 19:45:06 EDT 2016

Instead of discovering tests by name matching is there any way to specify 
that all subclasses of X be collected?

I realise this can be done by subclassing unittest.TestCase but that is a) 
pretty heavyweight and b) seems to break parameterised fixtures for me.


More information about the pytest-dev mailing list