juliette-derancourt on gh-pages
Add Paris JUG event (compare)
@BeforeEachin a test class. I'm already using a
BeforeTestExecutionCallback) method implementation which is called as I wish and a
BeforeEachCallback. I can see that the method which is annotated with
BeforeEachis being executed but I don't get the information in my extension that this method is being called. I also tried to get it intercepted via
InvocationInterceptor...Maybe I misunderstand a thing ..
BeforeEachCallbackthere is stated the following:
BeforeEachCallback defines the API for Extensions that wish to provide additional behavior to tests before each test is invoked. In this context, the term test refers to the actual test method plus any user defined setup methods (e.g., @BeforeEach methods). Concrete implementations often implement AfterEachCallback as well.which would I interpret that I should see the
BeforeEachannotated method in my extension to be executed...I have created a simple test project which shows the issue (maybe?) ... https://github.com/khmarbaise/maven-jupiter-extension-issue
BeforeEachCallbackare two ways to declare additional methods, that are invoked before each test. You can't intercept calls with one of them.
build.gradlecontain all the mandatory lines from https://github.com/junit-team/junit5-samples/blob/r5.4.0/junit5-jupiter-starter-gradle/build.gradle? :)
@AfterAllin an extension or an implementation of an