[ https://issues.apache.org/jira/browse/SUREFIRE-1726?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16982950#comment-16982950 ]
Tibor Digana commented on SUREFIRE-1726: ---------------------------------------- [~vmassol] IIUC the {{@BeforeAll}} is called but {{@AfterAll}} is not. Right? Can you attache a project to reproduce the issue? > @AfterAll JUnit5 methods from extensions are not called when a test is rerun > ---------------------------------------------------------------------------- > > Key: SUREFIRE-1726 > URL: https://issues.apache.org/jira/browse/SUREFIRE-1726 > Project: Maven Surefire > Issue Type: Bug > Components: JUnit 5.x support > Affects Versions: 3.0.0-M4 > Reporter: Vincent Massol > Priority: Major > > I'm testing the rerun feature with the failsafe plugin (with > -Dfailsafe.rerunFailingTestsCount=2) and I've noticed that my failing tests > that are executed again don't have the @AfterAll method of the extension they > use executed again. However the extension's @BeforeAll methods are correctly > called during the reruns. -- This message was sent by Atlassian Jira (v8.3.4#803005)