aspose file tools*
The moose likes Testing and the fly likes how to run junit test in eclipse Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Engineering » Testing
Bookmark "how to run junit test in eclipse" Watch "how to run junit test in eclipse" New topic
Author

how to run junit test in eclipse

Anand Bhatt
Ranch Hand

Joined: May 30, 2007
Posts: 189
Hi,
I am writing Testcase for testing Struts2 action class and created one Testclass by extending StrutsSpringTestcase. Any idea how to run this test case in eclipse IDE?

Jeanne Boyarsky
internet detective
Marshal

Joined: May 26, 2003
Posts: 30546
    
151

What error message did you get when trying Run As > JUnit test?


[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
enric jaen
Greenhorn

Joined: Oct 15, 2010
Posts: 25
JUnit Test using Eclipse (youtube video)
enric jaen
Greenhorn

Joined: Oct 15, 2010
Posts: 25
My experience writting struts/spring action tests is that it duplicates acceptance tests.

I would just write acceptance tests (such as selenium) and I'd forget about action tests.

It's only my opinion, I'd like to hear what others say.
 
 
subject: how to run junit test in eclipse