IntroductionThis utility enables you to easily create an integration test with as less configuration possible. It even provides you with a default test that can be used out of the box:
AbstractDefaultDeploymentTest AbstractDefaultHibernateDeploymentTest AbstractDefaultNoDbDeployment
Container support:
Tomcat JBoss Jetty Jonas Glassfish
Check out the source code to see the examples in src/test/java. You can find example container utilities and simple integration tests using the abstract deployment tests mentioned above in the src/test/java folder.
Some main features:
Integration: Run the same tests with whatever build tool out there like Ant, Maven etc. and even within your IDE. Configurable container port: You can easily configure on which port the container will run. Easy SQL script execution: This can be done by just configuring it in you spring context file. Multiple container support: It currently supports Tomcat, Jetty, JOnas & JBoss. Easy to extend: You can create your own container utility if the container you are using is not supported yet. Configurable context names: For WAR applications by default the context name will be the name of the WAR. This is most of the time not what you want so the utility also provides the flexibility to set the context name.
Maven2You can add the following to your Maven pom file:
nl.tranquilizedquality
cargo-itest
1.3.0
Also add the following repository to your maven proxy or to your pom file: http://cargo-itest.googlecode.com/svn/maven-repo/
Change history can be found here
The whole maven site can be found here
TutorialYou can find a 5 minute tutorial here.
If you have any questions or remarks you can contact me on salomo.petrus@gmail.com
30 Day Summary Apr 18 2013 — May 18 2013
|
12 Month Summary May 18 2012 — May 18 2013
|
Copyright
©
2013
Black Duck Software, Inc.
and its contributors, Some Rights Reserved. Unless otherwise marked, this work is licensed under a
Creative Commons Attribution 3.0 Unported License
. Ohloh
®
and the Ohloh logo are trademarks of
Black Duck Software, Inc.
in the United States and/or other jurisdictions. All other trademarks are the property of their respective holders.