| Sign In/My Account | View Cart |
| Article: |
Unit Test Your Struts Application | |
| Subject: | What about StrutsTestCase for JUnit? | |
| Date: | 2004-09-27 04:57:31 | |
| From: | pattersonw | |
|
I'm currently evaluating unit testing frameworks for my own needs, and had already been investigating StrutsTestCase for JUnit when I stumbled upon this article and solution. If I am not mistaken, StrutsTestCase has been around for a while, and allows the tester/developer to directly use the Struts artifacts such as mappings, form beans, etc. Was the author of StrutsUT aware of the existence of StrutsTestCase? If so, why did he/she find it inadequate? If not, how do the two testing frameworks compare in terms of ease of setup, ease of use, ability to generate thorough tests, etc? |
||
Showing messages 1 through 2 of 2.
I looked through StrutsTestCase user guide. I am not very clear in some points. When the action class uses external interface, StrutsUT can handle it with mock object. I don't know how StrutsTestCase handles it. This point is an important aspect of StrutsUT. If you have time, would you please give out a test case using StrutsTestCase according to the example in my article? Thanks.