Problem with the jupiter @Public Annotation #374
Labels
problematic
Not directly a verifiable bug but not good either (bad smell alike) [change in functionality]
wontfix
This will not be worked on
Describe the bug
We were testing with the IOTester and stumbled accross an odd error.
Minimal working example Main Method:
Test Class:
This is how we run the IOTester. When we try to run it like shown in the Docs (with the parameter) we get an ParameterResolutionException:
So the Doc example does not work and to get it running via @ BeforeEach and @ AfterEach we have to adjust the import library for the @ Public Annotation from
de.tum.in.test.api.jupiter.Public
tode.tum.in.test.api.jqwik.Public
.Now it works but this is kinda weird to understand for people who have to write test cases and don't know about it.
So what is the Issue here? Why do we get a java.lang.ExceptionInInitializerError thrown, when we use the jupiter package instead of jqwik?
The text was updated successfully, but these errors were encountered: