Cactus(java)
Cactus
Cactus is a simple test framework for unit testing server-side java code (Servlets, EJBs, Tag Libs, Filters, ...).
The intent of Cactus is to lower the cost of writing tests for server-side code. It uses JUnit and extends it.
Cactus implements an in-container strategy, meaning that tests are executed inside the container.
Homepage: http://jakarta.apache.org/cactus/
一个cactus测试的例子,用eclipse
以前apache提供cactus的eclipse插件,但是因为cactus是基于juint的,所以现在没有插件了。 另外apache上面的文档关于如何集成到eclipse的部分还没有换。 http: //jakarta.apache.org/cactus/integration/eclipse/runner_plugin.html和http: //jakarta.apache.org/cactus/integration/eclipse/webapp_plugin.html上面提到的org.apache.cactus.integrati...
Cactus简介
. 简介 Cactus实现了对JUnit测试框架的无缝扩展,可以方便地测试服务端应用程序。Cactus可以在下面几种情况下使用: 测试Servlet以及任何使用了像HttpServletRequest,HttpServletResponse,……这样的对象的代码。使用ServletTestCase。 测试Filter以及任何使用了像FilterConfig,……这样的对象的代码。使用Filter...