aspose 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 EJB 3 in Action this week in the EJB and other Java EE Technologies 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: 36
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
internet detective
Marshal

Joined: May 26, 2003
Posts: 29220
    
135

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
 
Similar Threads
Test Suites
Testng is skipping @Before annotation from junit
TestNg or Junit
How does surefire work
TestNG vs JUnit, mockito + Powermock vs jmockit