This week's book giveaway is in the Clojure forum.
We're giving away four copies of Clojure in Action and have Amit Rathore and Francis Avila on-line!
See this thread for details.
Win a copy of Clojure in Action this week in the Clojure forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

how to run junit test in eclipse

 
Anand Bhatt
Ranch Hand
Posts: 189
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
author & internet detective
Marshal
Posts: 33696
316
Eclipse IDE Java VI Editor
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
What error message did you get when trying Run As > JUnit test?
 
enric jaen
Greenhorn
Posts: 27
 
enric jaen
Greenhorn
Posts: 27
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
I agree. Here's the link: http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic