This week's book giveaway is in the Agile and other Processes forum.
We're giving away four copies of The Mikado Method and have Ola Ellnestam and Daniel Brolund on-line!
See this thread for details.
The moose likes Testing and the fly likes Is junit.swingui.TestRunner removed from version 4.1 ? Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


Win a copy of The Mikado Method this week in the Agile and other Processes forum!
JavaRanch » Java Forums » Engineering » Testing
Reply Bookmark "Is junit.swingui.TestRunner removed from version 4.1 ? " Watch "Is junit.swingui.TestRunner removed from version 4.1 ? " New topic
Author

Is junit.swingui.TestRunner removed from version 4.1 ?

Nikhil Das Nomula
Greenhorn

Joined: Jun 10, 2011
Posts: 23
I am getting the a NoClassDefFoundError when I type in the below command



After my research on the web it seems that junit3.8 had it and I am suspecting that junit.swingui.testrunner is removed in the latest junit jar. Can someone confirm this please? And if it has been removed what
Jeanne Boyarsky
internet detective
Marshal

Joined: May 26, 2003
Posts: 26193
    
  66

Yes, it was removed from JUnit 4. Since most IDEs and build tools produce a junit report, the junit.jar now only contains a text runner.


[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
Nikhil Das Nomula
Greenhorn

Joined: Jun 10, 2011
Posts: 23
Thank you Jeanne. That was helpful !
 
I agree. Here's the link: http://zeroturnaround.com/jrebel - it saves me about five hours per week
 
subject: Is junit.swingui.TestRunner removed from version 4.1 ?
 
Similar Threads
NoClassDefFoundError
[JUnit] Could not find the main class junit.awtui.TestRunner
Error with execution using packages in command line
What causes this error in the Junit test?
Installing Fitnesse on Unix