Replies: 2 comments 6 replies
-
Is writing a custom test engine an option?
|
Beta Was this translation helpful? Give feedback.
6 replies
-
@sormuras thanks a lot for all your pointers, this is great and much appreciated! :) I'll need some time to research/digest this and then decide if go in this direction or not. Thx again |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hello everyone,
Since #371 is closed, is there a solution to be able to create a JUnit5 Extension that will generate tests dynamically?
Right now I'm forced to use a
@TestFactory
and a class to be extended, as in (in the example theCompatibilityTest
class has a method annotated with@TestFactory
):But it would be nicer if I could write:
The
@CompatiblityTest
would trigger an Extension that generate the tests dynamically (in my case, the tests are expressed in some files and the Extension would generate the tests based on that).Note: It's better than extending a class since this wouldn't touch the test hierarchy.
Any idea?
Thanks a lot
Beta Was this translation helpful? Give feedback.
All reactions