AppserverUnit is a toolset for packaging and running server side unit tests. Tests are written as JUnit test cases that lookup EJB components via standard JNDI calls and perform tests against them.
AppserverUnit provides an ant task that takes an ear or ejb module plus the testcases as input and then generates a "testable" ear that additionally contains the necessary machinery to be able to invoke the tests remotely.
AppserverUnit also provides a range of client tools to invoke the server-side tests from the command line, from within an ant task, or through a simple web interface.
There is a certain amount of overlap between AppserverUnit and Cactus. However, AppserverUnit is focused on testing EJB components (local and remote) only, and hopefully more easy to use in that context.
AppserverUnit has been tested against JBoss and Sun Appserver 8.
Visit the AppServerUnit Home page
-
Appserverunit 0.9 - server side unit testing (5 messages)
- Posted by: Christian Sell
- Posted on: January 26 2005 12:38 EST
Threaded Messages (5)
- Appserverunit 0.9 - server side unit testing by Cameron Purdy on January 29 2005 11:53 EST
- sysunit? by Christian Sell on January 29 2005 16:10 EST
-
sysunit? by Cameron Purdy on January 30 2005 09:38 EST
-
Cactus by Chris Wild on February 01 2005 09:40 EST
- Cactus by Christian Sell on February 02 2005 07:21 EST
-
Cactus by Chris Wild on February 01 2005 09:40 EST
-
sysunit? by Cameron Purdy on January 30 2005 09:38 EST
- sysunit? by Christian Sell on January 29 2005 16:10 EST
-
Appserverunit 0.9 - server side unit testing[ Go to top ]
- Posted by: Cameron Purdy
- Posted on: January 29 2005 11:53 EST
- in response to Christian Sell
See also:
http://sysunit.org/
Peace,
Cameron Purdy
Tangosol, Inc.
Coherence: Shared Memories for J2EE Clusters -
sysunit?[ Go to top ]
- Posted by: Christian Sell
- Posted on: January 29 2005 16:10 EST
- in response to Cameron Purdy
Hi,
thanks for the link. From briefly skimming the site I dont think it solves the same problems, however. AppserverUnit is only concerned with J2EE appservers, and handles the details of deployment and remote test invocation. Sysunit does not mention J2EE anywhere, AFAICT.
regards,
christian -
sysunit?[ Go to top ]
- Posted by: Cameron Purdy
- Posted on: January 30 2005 09:38 EST
- in response to Christian Sell
Christian,
I didn't mean to imply that one was a direct replacement to the other. Rob Davies had told me about Sysunit at the last JavaOne, and I just wanted you to know about it.
Peace,
Cameron Purdy
Tangosol, Inc.
Coherence: Shared Memories for J2EE Clusters -
Cactus[ Go to top ]
- Posted by: Chris Wild
- Posted on: February 01 2005 09:40 EST
- in response to Cameron Purdy
How does this differ to Cactus? - at first look it essms to offer similar functionality (the ability to test inside the container) -
Cactus[ Go to top ]
- Posted by: Christian Sell
- Posted on: February 02 2005 07:21 EST
- in response to Chris Wild
well, thats what I wrote in my announcement: there is some overlap. The main advantage for AppserverUnit should be that it does not try to cover every conceivable domain, but instead focuses on testing ejb components only. It does not require any pre-installed infrastructure on the server - the testing machinery is packed into the deployable ear by the provided ant task. All you have to do is deploy and then invoke the tests.
AFAIK Cactus does not currently handle packaging of ear files.
christian