Java Reference
In-Depth Information
Running JUnit tests
from Ant
It's supposed to be automatic, but
you still have to press the button.
—John Brunner
This chapter covers
Introducing Ant and Ivy
Running Ant JUnit tasks
Creating reports
In this chapter, we look at Apache Ant 1 or Ant for short, a free and open source
build tool with direct support for JU nit. You can use Ant with any Java program-
ming environment. We show you how to be more productive with JU nit by run-
ning tests as part of the build. We also show you how to set up your environment
to build Java projects, manage JAR file dependencies, execute JU nit tests, and gen-
erate JU nit reports.
1
http://ant.apache.org/
137
 
 
 
Search WWH ::




Custom Search