• Post Reply Bookmark Topic Watch Topic
  • New Topic

can we write test classes(test cases)for action class that extend DispatchAction

 
swatione chowdary
Greenhorn
Posts: 27
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 65
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
This link might help you in writing testcases for struts appication using dispatch action
http://www.laliluna.de/junit-testing-struts-tutorial.html
 
Gravity is a harsh mistress. But this tiny ad is pretty easy to deal with:
the new thread boost feature: great for the advertiser and smooth for the coderanch user
https://coderanch.com/t/674455/Thread-Boost-feature
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!