wood burning stoves 2.0*
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
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: 37
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: 30123
    
150

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