Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Marks don't pick up nested classes #199
Originally reported by: Anonymous
only test_b is run. Not test_d
problem is compatibility - we should first allow to access markers conveniently without accessing a func's dict - this is already possible via node.keywords except that "keywords" also contains other names not just markers - probably not so bad, though.
As to the original posters question we should decide if we want to support nested classes at all - i haven't seen them used until this issue was created.
I realize this is rather old, but my usecase is thus:
I could certainly make either the methods flat, or the classes flat but this was my initial inclination towards a method of grouping the tests in a way that did not repeat the prefix of the class under test or the class method under test for each test name.