Closed Jammjammjamm closed 1 week ago
:wave: Thanks for the suggestion but this isn't something I'm interested in adding to core at this time, it seems like you have a pretty neat solution for your purposes but we prefer more explicit solutions like defining the metadata manually in the tests.
Feature request: include shared context based on class
I work on a framework which defines base classes which are then subclassed by users of the framework. Specs for these classes require identical setup. I've implemented this similar to the following:
But it would be great to just have a filter which acts directly on the class/included modules: