Re: Live Testing -
Jason van Zyl <[email protected]> 30 Jul 2003 21:37:48 -0400
| Newsgroups | gmane.comp.java.plexus.devel |
|---|---|
| Message-ID | <[email protected]> |
On Wed, 2003-07-30 at 20:39, Bert van Brakel wrote: > Ignore the last message, bloody shortcut keys... > > Have a query regarding unit testing within plexus. > > I'm wanting to test all my components using a real deployment > scenario, so I can test whether all my configurations are > correct and all pigs are flying. To achieve this I'm looking > at running plexus through jetty (using summit) and using an > xml-rpc component communicating with my unit tests to provide > the ServiceManager from within plexus. This would allow me to > test all my components both in a development deployment, and > also in live deployment. > > What I'm interested in knowing is if anybody else has done > this? or is there a better way? I know I can extend > PlexusTestCase but this still doesn't test the whole war > bundle and doesn't mimic a real deployment situation. The PlexusTestCase is pretty good for components, even complex ones, but deploying the container is good. I do this with the plexus plugin and generate the container and have been doing a mix of manual and automated testing. I get at my model via xmlrpc so I run a set of python scripts that Pete whipped up to set some things. Ideally I would say augment the plexus plugin to allow the running of the container and the triggering of running some tests. This is what I'm working on SureFire for as I would like to fully automate complex testing. Bob has also created SysUnit for multi-machine testing across a network. As per usual I'm strapped for time but I would augment the plexus plugin to allow the running of the container. > -Bert > > _______________________________________________ > Plexus-dev mailing list > [email protected] > http://lists.codehaus.org/mailman/listinfo/plexus-dev