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
After each instance completes, the dependencies should be reset, ensuring that dependsOnMethods is respected for each configuration
Setup for config: config1
Running testA with config: config1
Running testB with config: config1
Running testC with config: config1
Running testD with config: config1
Teardown for config: config1
Setup for config: config3
Running testA with config: config3
Running testB with config: config3
Running testC with config: config3
Running testD with config: config3
Teardown for config: config3
Setup for config: config4
Running testA with config: config4
Running testB with config: config4
Running testC with config: config4
Running testD with config: config4
Teardown for config: config4
Setup for config: config2
Running testA with config: config2
Running testB with config: config2
Running testC with config: config2
Running testD with config: config2
Teardown for config: config2
Actual behavior
When running a test class that uses a factory with parallel execution set to methods and instance grouping enabled, dependsOnMethods is not respected after the first configuration is executed.
Setup for config: config1
Running testA with config: config1
Running testB with config: config1
Running testC with config: config1
Running testD with config: config1
Teardown for config: config1
Setup for config: config3
Running testC with config: config3
Running testB with config: config3
Running testD with config: config3
Running testA with config: config3
Teardown for config: config3
Setup for config: config4
Running testA with config: config4
Running testC with config: config4
Running testB with config: config4
Running testD with config: config4
Teardown for config: config4
Setup for config: config2
Running testA with config: config2
Running testB with config: config2
Running testD with config: config2
Running testC with config: config2
Teardown for config: config2
@jmezquita-denodo - quick question. Do you know if this combo worked in the past. If yes can you please let us know in which version it worked fine? Just trying to see if this was broken in some recent release.
TestNG Version
7.10.2
Expected behavior
After each instance completes, the dependencies should be reset, ensuring that dependsOnMethods is respected for each configuration
Actual behavior
When running a test class that uses a factory with parallel execution set to methods and instance grouping enabled, dependsOnMethods is not respected after the first configuration is executed.
Is the issue reproducible on runner?
Test case sample
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: