Visual Studio Code – Pytest does not collect nested Test_* classes
I am writing a test suite with pytest to cover an API, with tests organized like this: class Test_Endpoint: def test_A(self): ... def test_B(self): ... class Test_SubEndpoint: def test_C(self): ... Pytest has collected and run tests inside the Test_SubEndpoint class…