ObjectArtist
 

Automatisiertes Testen von Java-Anwendungen mit JUnit, Cactus & Co
(Automated testing of Java application with JUnit, Cactus & Co.)

Sven Daumann

The white paper describes the automated testing of Java application during the development process using the test frameworks JUnit and Cactus.
JUnit is a tool for automated testing of applications providing a framework for the generation of test classes and automates test run and result evaluation, without manual support of the developer. An extension of JUnit is the framework Cactus, to enable the testing of server applications.
The white paper describes at first the automation of the build process by means of Ant. On this basis it describes the design and function of the two testing frameworks JUnit and Cactus. An example application, in form of an online book shop, points out the function.

Published at Resco GmbH http://www.resco.de/publication/main_public.asp#W032004

Download

Version 0.9.2

Dokument (PDF) WP_Autotesten.pdf [703 KB] (German)
Examples (zip) examples.zip [9786 kB]
Examples (tar gz) examples.tgz [9695 kB]