File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Testing and the fly likes Running TestNg tests via JUnit TestSuite Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Soft Skills this week in the Jobs Discussion forum!
JavaRanch » Java Forums » Engineering » Testing
Bookmark "Running TestNg tests via JUnit TestSuite" Watch "Running TestNg tests via JUnit TestSuite" New topic
Author

Running TestNg tests via JUnit TestSuite

Salil Surendran
Ranch Hand

Joined: Jan 16, 2004
Posts: 39
Hello,
Is it possible to execute TestNg tests in a JUnit TestSuite. I see a lot of web pages describing how to use TestNg to run JUnit but none the other way around.


Thanks,<br />Salil Surendran
Jeanne Boyarsky
author & internet detective
Marshal

Joined: May 26, 2003
Posts: 31057
    
232

There's no webpages on that because you can't. JUnit doesn't run TestNG.


[Blog] [JavaRanch FAQ] [How To Ask Questions The Smart Way] [Book Promos]
Blogging on Certs: SCEA Part 1, Part 2 & 3, Core Spring 3, OCAJP, OCPJP beta, TOGAF part 1 and part 2
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Running TestNg tests via JUnit TestSuite