This week's book giveaway is in the OCMJEA forum.
We're giving away four copies of OCM Java EE 6 Enterprise Architect Exam Guide and have Paul Allen & Joseph Bambara on-line!
See this thread for details.
The moose likes Testing and the fly likes Writing Tests for Struts 1.3 application Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of OCM Java EE 6 Enterprise Architect Exam Guide this week in the OCMJEA forum!
JavaRanch » Java Forums » Engineering » Testing
Bookmark "Writing Tests for Struts 1.3 application" Watch "Writing Tests for Struts 1.3 application" New topic
Author

Writing Tests for Struts 1.3 application

DharmaRao Edula
Greenhorn

Joined: Feb 28, 2008
Posts: 10
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

Joined: Feb 06, 2008
Posts: 459
    
    1
I have used jUnit with jMock. You can check StrutsTestCase framework which is useful for testing Struts.


Vinod Tiwari | Twitter
 
 
subject: Writing Tests for Struts 1.3 application