I already have lot of java testng classes , and they are part of test suite
as follows:
<test name="Test1">
<classes>
<class name="myClass1">
<class name="myClass2">
<class name="myClass3">
<classes>
</test>
so my question , can I add a new test suite to same xml or test and have one
test dependent on other , so that it fails rest of the tests are skipped ,
something like:
<test name="Test2">
<classes>
<class name="myclass4">
<classes>
</test>
<test name="Test1" dependsOnTest="Test2">
<classes>
<class name="myClass1">
<class name="myClass2">
<class name="myClass3">
<classes>
</test>
So , the test1 should be skipped when test2 fails.
I really don't want to make any changes to java class files...
Thanks
--
View this message in context: http://old.nabble.com/Defining-Dependency-Between-Tests-in-testng.xml-tp28783013p28783013.html
Sent from the testng-users mailing list archive at Nabble.com.
--
You received this message because you are subscribed to the Google Groups "testng-users" group.
To post to this group, send email to testng...@googlegroups.com.
To unsubscribe from this group, send email to testng-users...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/testng-users?hl=en.