File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
Win a copy of Clojure in Action this week in the Clojure forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Test suite dependeny

 
Avinash More
Greenhorn
Posts: 5
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

We have created 2 test suits of which one test suite sets up the required data for the execution of test cases in other test suite.

Now my requirement is if the test suite 1 is successful only then I want to execute test suite 2.

Can any one tell me the right approach to accomplish this ?

Regards,
Avinash
 
Jeanne Boyarsky
author & internet detective
Marshal
Posts: 33694
316
Eclipse IDE Java VI Editor
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Avinash,
In TestNG, you can set up this dependency explicitly. In JUnit, you could write your own suite collector. Or use @BeforeClass to set up the data rather than a separate test suite.
 
I agree. Here's the link: http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic