Add a test scenario for @BeforeGroups having a dependsOnGroups#2025
Add a test scenario for @BeforeGroups having a dependsOnGroups#2025jobayle wants to merge 1 commit intotestng-team:masterfrom jobayle:bug/beforegroup-dependsongroups
Conversation
TestNG ignores the dependsongroups parameter on @BeforeGroups annotations.
|
Thanks for the test case but it doesn't follow the current convention. BTW, I suppose it is a graph issue not covered by tests. @krmahadevan Do you have time to check it? |
|
@jobayle - I am not sure if the test that you added is running as a group but it may be running as a standalone test. You would need to create a test that extends |
|
@krmahadevan Do you confirm the issue? |
|
@juherr I haven't got to this yet. I will get to this shortly. Since this is in the graph section, I would again need to brush up on its working :) |
Where can I read about this convention?
Me neither, also I tried to follow your instructions but eventually failed as I could not get it to work, sorry. |
|
@jobayle You can check a recent package test like https://github.com/cbeust/testng/tree/master/src/test/java/test/name |
TestNG ignores the dependsongroups parameter on @BeforeGroups annotations.
See: https://stackoverflow.com/questions/31929690/beforegroups-method-ignores-dependsongroups