| Author |
can we write test classes(test cases)for action class that extend DispatchAction
|
swatione chowdary
Greenhorn
Joined: Apr 07, 2005
Posts: 27
|
|
hi my dear guys. can we write test classes(test cases)for action classes in struts that extend org.apache.struts.actions.DispatchAction . if we could write , can any body tell the process of how to write test class for it. help needed urjently , can u help me as fast as possible. swati.
|
 |
Periakaruppan Thiagarajan
Ranch Hand
Joined: Jul 26, 2005
Posts: 65
|
|
This link might help you to start writing testcases for structs application using dispatch action. http://www.laliluna.de/junit-testing-struts-tutorial.html
|
 |
swatione chowdary
Greenhorn
Joined: Apr 07, 2005
Posts: 27
|
|
hi with the link u have given is useful in testing the classes which extend org.apache.struts.action.Action only . to test the classes which extend org.apache.struts.actions.DispatchAction i need help that whether we can test or not , if we can test how we can test and the process. the thing is action classes that extend org.apache.struts.action.Action we can test them with MockStrutsTestCase and CactusStrutsTestCase . but how we can write test classes for action classes that extend org.apache.struts.actions.DispatchAction can u tell the process. help needed is urgent. swati.
|
 |
 |
I agree. Here's the link: jrebel
|
|
subject: can we write test classes(test cases)for action class that extend DispatchAction
|
|
|