[pytest-dev] Test discovery by subclassing

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


Hi,
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.


Thanks,
Dave




More information about the pytest-dev mailing list