-
Notifications
You must be signed in to change notification settings - Fork 137
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
dependsOnMethods not working when dependency is on scenarios with dataProviders #271
Comments
Other observation: |
Hi @raviguptasmarsh For the workaround you can use priority metadata as mentioned in Test case meta-data |
Yes, @naeem-github as of now using either "priority" or "dependsOnGroups" as workaround. |
Related or duplicate to #66 |
This is still not resolved. this is important feature we need. In one of th old post from Amit I found he mentioned there are file changes under [src/org/testng/DependencyMap.java]. as part of this change . But now it looks reverted in 3.1.0-RC2 |
Refer #281, With qaf 3.0.0 test dependency with BDD or Feature file is not supported, it will be supported with RuntimeScenarioFactory. You can refer comment on #281 or alternate as suggested in this post. |
QAF Version
Steps To Reproduce
Expected behavior
ONE should run followed by TWO
Actual behavior
No tests run
Is the issue reproducible on runner?
Test case sample
SCENARIO: TWO
META-DATA: {"description":"Test Scenario TWO","groups":["SMOKE"],"dependsOnMethods":["ONE"]}
END
SCENARIO: ONE
META-DATA: {"description":"Test Scenario ONE","groups":["SMOKE"], "dataFile":"resources/test.csv}
END
test.csv
summary,num_of_users
with 1 user,1
with 10 users,10
The text was updated successfully, but these errors were encountered: