It's not a secret anymore!*
The moose likes Testing and the fly likes Struts with Junit/HttpUnit Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Engineering » Testing
Bookmark "Struts with Junit/HttpUnit" Watch "Struts with Junit/HttpUnit" New topic
Author

Struts with Junit/HttpUnit

Anubhuti Bhargava
Greenhorn

Joined: Jul 22, 2002
Posts: 17
Hi , I am using struts framework and want to use Junit or httpunit to test the web ...or FormBean and Action Classes .How should i go about it.
One of the sites says use servletunit.struts.MockStrutsTestCase
but don't know where to find the download.
thanks in advance
Chris Mathews
Ranch Hand

Joined: Jul 18, 2001
Posts: 2712
You can get StrutsTestCase here.
Anubhuti Bhargava
Greenhorn

Joined: Jul 22, 2002
Posts: 17
This link i have gone through but it doesn't have the code or class file to include .
Pls can you give me some other location.
thanks in advance
Simon Brown
sharp shooter, and author
Ranch Hand

Joined: May 10, 2000
Posts: 1913
    
    6
Try this link...
Simon
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
 
subject: Struts with Junit/HttpUnit
 
Similar Threads
How to get request scope attribute values thru HttpUnit
Junit / httpunit questions.
How do *you* test custom tags?
Testing process
Good Book On Cactus and HttpUnit