IntelliJ Java IDE
The moose likes IDEs, Version Control and other tools and the fly likes eclipse 3.4 junit wizard Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login
JavaRanch » Java Forums » Engineering » IDEs, Version Control and other tools
Reply Bookmark "eclipse 3.4 junit wizard" Watch "eclipse 3.4 junit wizard" New topic
Author

eclipse 3.4 junit wizard

Jeanne Boyarsky
internet detective
Marshal

Joined: May 26, 2003
Posts: 23635

In Eclipse 3.4, the "New JUnit Test Case" wizard offers a radio button choice between "New JUnit 3 Test" and "New JUnit 4 test." Is there a way to get it to default to JUnit 4?

It doesn't seem to remember that I used JUnit 4 in the past and I have to pick it each time. Not a terrible thing, just wondering if there is a better way. I don't actually use this feature that often in development anyway. It came up now because I'm creating a few tests for legacy classes. And that got me wondering.


[Blog] [JavaRanch FAQ] [How To Ask Questions The Smart Way] [Book Promos]
Certs: SCEA Part 1, Part 2 & 3 & Core Spring 3, OCAJP
David Newton
Author
Rancher

Joined: Sep 29, 2008
Posts: 12612
I'd check the config files for the plugin, if any, if an email/support request didn't work.
Jeanne Boyarsky
internet detective
Marshal

Joined: May 26, 2003
Posts: 23635

Trying at home, it works the way I would expect in Eclipse 3.5 so they are already fixed it.
Jeanne Boyarsky
internet detective
Marshal

Joined: May 26, 2003
Posts: 23635

And now it is remembering JUnit 4 as the default. Maybe I just needed to close the workspace?
 
 
subject: eclipse 3.4 junit wizard
 
Threads others viewed
How to run UT in Eclipse/Maven
Are there any Glassfish plugins available for Eclipse?
Junit with Testsuit error
struts app exception
JUnit 4 and @RunAs annotation
IntelliJ Java IDE