jakarta-cactus-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Vincent Massol" <vmas...@pivolis.com>
Subject [ANN] Cactus 1.5 has been released
Date Sun, 23 Nov 2003 23:18:17 GMT
The Cactus project is pleased to announce the release of version 1.5
Cactus is a unit testing framework for testing server side java code.


The main focus for version 1.5 was on usability. We had several user
requests to make Cactus easier to get started with. The web site has
been overhauled to provide better doc navigation and contains several
new tutorials. In addition, several new front
ends for Cactus have been added: Ant integration, Maven integration
Jetty integration, and an experimental Eclipse plugin.

It should be noted that the Eclipse plugin for Cactus is not part of
Cactus 1.5 as it is still experimental. It is available in Cactus 
nightly build area (http://jakarta.apache.org/cactus/downloads.html). 
Your feedback is important to make it production ready. If you're an 
Eclipse user, make sure you try it (it is documented on 

Main new features

The following main features have been added since Cactus 1.4.1:
* Added support for begin()/end() that are run before and after each
  test on the client side (mirrors setUp()/tearDown() which are run
  before and after each test on the server side).
* Special Jetty integration to automatically start Jetty when executing
  a test suite
* Added support for Form-based authentication
* Added support for i8n
* Added new JspTagLifecycle class to help unit test taglibs
* Added support for JBoss in Ant integration
* Added support for server-side XSLT when running Cactus tests from a 
* New Ant integration (<cactifywar> and <cactus> Ant tasks). Note that
  version 1.5-rc1 has added support for WebLogic 7.x as compared to
  version 1.5-beta1.
* Added ability to run pure JUnit tests seamlessly on the server side
* Lots of other new features. For a full feature list, see


Please check the Changes page at
http://jakarta.apache.org/cactus/changes.html for a full list of the 
changes in version 1.5 compared to previous versions.

Known limitations and bugs:

* Support for WebLogic 6.x has not been tested. This is because BEA is
  no longer providing a download for WebLogic 6.x (unless you're a BEA
* [Bug 21484] "ClassCastException when casting WebAppRequestDispatcher"
* [Bug 23978] "Cactus doesn't properly integrate w/HttpUnit. External 
  Javascript generates NullPointerException". Cactus integration with
  HttpUnit needs to be improved to support parsing of Javascript
  in returned pages.
* [Bug 17077] "Code page problems under WebSphere z/OS".
* [Bug 21237] "CactifyWarTask duplicates init-param lines in existing 
  web.xml servlet tag".
* [Bug 23653] "CactifyWar task throws OutOfMemory Error with large WAR
* [Bug 23854] "Clustered servlet test results are not accurately
* [Bug 17933] "FormAuthentication assumes "localhost" when adding
* [Bug 24054] "Sometimes, JBoss is stopped before it has finished
* [Bug 24842] "java.lang.NullPointerException in first test -- thread 
  synchronization prob?". This bug has not been confirmed yet.
* [Bug 24851] "Ant <cactus><tomcat4x> task does not function correctly
  datasource definitions". This bug has not been confirmed yet.
* Some binary incompatiblity was introduced by the refactoring of the
  XXXTestCase class hierarchy. Whereas it was previously inheriting from

  AbstractWebTestCase and AbstractTestCase, it is now simply inheriting
  from JUnit TestCase. Thus all non-public API are now not visible from 
  users (as they should be). If you had some framework compiled with 
  Cactus 1.4.1 and using some methods from AbstractWebTestCase or 
  AbstractTestCase, you'll need to recompile it with Cactus 1.5 or 
  you might get a NoClassDefFoundError exception. We'll be more careful
  the future.

For more information about Cactus, please visit

Have fun,
-The Cactus team

View raw message