-
Notifications
You must be signed in to change notification settings - Fork 298
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Allow @AnalyzeClasses
to be used as a meta annotation
#182
Comments
@AnalyzeClasses
to be a meta annotation@AnalyzeClasses
to be used as a meta annotation
Sounds like a reasonable addition 😃 Would be worth it to ponder about the implications if several
Because up to now this scenario was impossible by design. I guess since all the members of I'll see if anyone wants to pitch in a PR here since I have to work on some other issues first. |
Is this something that can still be picked up? Then I would give it a go. |
Yes, I don't think anybody is actively working on this, so if you want to give it a shot I'm happy to support you where necessary 🙂 |
As it seems that @Maiklins didn't found the time to take over, I would be happy to give it a try. |
so far users are forced to repeat `@AnalyzeClasses` annotation an every test class. This cause additional maintenance overhead when common properties (e.g. package structure) changes. To support the DRY approach, `@AnalzyeClasses` annotation can now be used as meta annotation. Resolves: TNG#182 Signed-off-by: Mathze <[email protected]>
Didn't got any response so I assume no one is working at this. So I've created #1300 |
@mathze I did not find the time to start on that one. So go ahead. :) |
Note: My PR only allows the plain use as meta annotation. Atm. it does not respect merging nor inheritance from super classes. |
so far users are forced to repeat `@AnalyzeClasses` annotation an every test class. This cause additional maintenance overhead when common properties (e.g. package structure) changes. To support the DRY approach, `@AnalzyeClasses` annotation can now be used as meta annotation. Resolves: TNG#182 Signed-off-by: Mathze <[email protected]>
@codecholeric did not received a response so far. Can you have a look at my PR #1300, please? |
so far users are forced to repeat `@AnalyzeClasses` annotation an every test class. This cause additional maintenance overhead when common properties (e.g. package structure) changes. To support the DRY approach, `@AnalzyeClasses` annotation can now be used as meta annotation. Resolves: TNG#182 Signed-off-by: Mathze <[email protected]>
Having
@AnalyzeClasses
allowed to be a meta annotation would allow one to encapsulate repeating options across tests:For similar features in Spring, checkout https://docs.spring.io/spring/docs/current/spring-framework-reference/testing.html#integration-testing-annotations-meta.
The text was updated successfully, but these errors were encountered: