File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
Win a copy of Clojure in Action this week in the Clojure forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Writing Tests for Struts 1.3 application

 
DharmaRao Edula
Greenhorn
Posts: 10
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I am writing Tests for one legacy application developed using Struts and plain JDBC.

Could you please let me know which of the following are best methods.

1. Writing tests in Junit + Mockito
2. Writing tests using TestNG + Mockito
3. Writing tests in Groovy
 
Vinod Tiwari
Ranch Hand
Posts: 466
1
IntelliJ IDE Java Oracle
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I have used jUnit with jMock. You can check StrutsTestCase framework which is useful for testing Struts.
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic