@AfterGroups is executed for each "finished" group when it has multiple groups defined #2754
Closed
2 of 7 tasks
Labels
Milestone
TestNG Version
7.5
Expected behavior
a configuration method annotated with AfterGroups should be invoked once only after all tests with groups defined in configuration method are invoked
Actual behavior
when @AfterGroups annotated method has multiple groups then it will be invoked after the last method of each of this group
Is the issue reproducible on runner?
Test case sample
Output
Contribution guidelines
Incase you plan to raise a pull request to fix this issue, please make sure you refer our Contributing section for detailed set of steps.
The text was updated successfully, but these errors were encountered: