• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

demo for struts 2.0 & Junit 4

 
kedu par
Greenhorn
Posts: 11
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
How we can test action class(Struts2.0) with Junit4.
If any one has demo for the same .pl.send the code.
 
David Newton
Author
Rancher
Posts: 12617
IntelliJ IDE Ruby
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Action:Test:If you want to test deeper functionality, take a look at the framework's existing test code to see how (or some of the Struts 2 books). There are helper classes that assist in doing this as you'll see when you look at the existing tests.
 
kedu par
Greenhorn
Posts: 11
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks!
But whether we required any extra jar file?
 
David Newton
Author
Rancher
Posts: 12617
IntelliJ IDE Ruby
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I don't believe so.
 
kedu par
Greenhorn
Posts: 11
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Can we use struts- Junit plugin ? How?
 
David Newton
Author
Rancher
Posts: 12617
IntelliJ IDE Ruby
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Sure, although I don't know anything about it for Struts 2.0.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic