Running DevTest with Ant and JUnit
You can execute ldt tests as JUnit tests within the execution path of an Ant build.
You can execute
DevTesttests as JUnit tests within the execution path of an Ant build.
This feature provides real automated build and test integration opportunities. You can use the flexibility of Ant and the simplicity of JUnit with the power of
DevTest Solutionsto meet the following automation needs:
- Production monitoring
Ant is a Java-based, open source automated software building tool. Ant is extended with support for many third-party tools, including JUnit. For more information, see http://ant.apache.org/.
JUnit is a Java-based, open source unit-testing framework. JUnit is widely supported by third-party testing tools, including
DevTest Solutions. For more information, see http://www.junit.org.
- The DevTest Ant Tasks can run anyDevTesttest or suite, making theDevTesttests look like they JUnit tests.
- The JUnit reports and log files are generated only when thejunitlisaAnt task is used to run tests.
- The JUnit step enables existing JUnit test cases to be integrated into the testing workflow. You can useDevTestto wrap the JUnit tests and execute them throughDevTest.
- Thejunitlisatask enables automating testing without going through theDevTestuser interface. Thejunitlisatask generates an HTML report because there is no user interface that it can send results to.