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 has been developed with the idea of automatic testing in mind
and it provides a packaged and simple
mechanism based on Ant
to automate server-side testing.
Cactus implements an in-container strategy (click on the diagram below
to understand how it works). An alternative but complementary approach
not covered by Cactus is to use Mock Objects (see the
Mock vs Container page to
understand the differences and why Cactus believes in the
usefulness of an in-container approach).
