Chapter 5. Automating JUnit
This chapter covers
Integrating JUnit into your development environment
Running JUnit from Ant, Maven, and Eclipse
It’s supposed to be automatic, but you still have to press the button. | ||
--John Brunner |
In this chapter, we will look at three products with direct support for JUnit: Ant, Maven, and Eclipse. Ant and Maven are build tools that can be used with any Java programming environment. Eclipse is an integrated development environment (IDE). We will demonstrate how you can be productive with JUnit and these environments and how to automate running JUnit tests.
At the end of this chapter, you will know how to set up your environment on your machine to build Java projects, including execution of JUnit tests and generation ...
Get JUnit in Action now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.