You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
dependencies between groups would be better described in test group declaration themselves rather than in @BeforeGroups / @AfterGroups.
the example above uses "implement TestGroup interface" approach so TestNG could scan and infer groups
It might be useful to have something like @ImportGroups(TestGroups.class) annotation so users don't have to implement the interface and they would still be able to launch individual test from the IDE (TestNG would infer the needed group definitions)
TestNG Version
7.6.1
Expected behavior
It would be nice if there was a way to declare "group" and its dependencies.
For instance, something like
@BeforeGroups
/@AfterGroups
.@ImportGroups(TestGroups.class)
annotation so users don't have to implement the interface and they would still be able to launch individual test from the IDE (TestNG would infer the needed group definitions)Actual behavior
See #2786
Is the issue reproducible on runner?
The text was updated successfully, but these errors were encountered: