| 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.
-
What about StrutsTestCase for JUnit?
2004-09-28 18:43:33 lujian213 [View]
-
What about StrutsTestCase for JUnit?
2004-10-02 09:34:08 irkutsk [View]
I am using SWExplorerAutomation for Web Application unit testing. It converts Web application into programmable objects. The objects are defined using Visual Designer. The Visual Designer allows to record script and generate code. While code have to be in .Net lanugage it can be used to test any Web application written using DHTML/HTML. The main requirement is that the Web application should work with Internet Explorer.



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.