java - How can I test my Struts 1.2 web application without server? -
i have struts 1.2 web application. has service & dao classes well. how can test each , every layer without web/application server. heard, spring provides same facility spring mvc application. how can test application end end? please suggest?
struts 1 officially deprecated , no longer maintained.
in addition, hard imagine developping web application without local server on developpement machine. eclipse or netbeans both offer possibility use local tomcat or [whatever prefered servlet container].
anyway, if corporate policies require it, try search old tools used struts 1, hoping can still find enough resources them. can remember :
- strutstestcase junit : strutstestcase junit extension of standard junit testcase class provides facilities testing code based on struts framework. strutstestcase provides both mock object approach , cactus approach run struts actionservlet, allowing test struts code or without running servlet engine.
- apache cactus - in attic since 2011 ... - : jakarta hosted cactus, simple test framework unit testing server-side java code.
but beware not maintained years, , links documentation broken. advice use argument either switch more decent recent framework or allowed have local tomcat.
Comments
Post a Comment