Part 3. JUnit and the build process

This part of the book deals with a very important aspect in the development cycle of every project: the build process. The importance of the build process is reconsidered more often these days, especially in large projects. That’s why we dedicate a whole part of this book to integration between JUnit and two of the most important build tools: Ant and Maven.

The ninth chapter gives you a quick introduction to Ant and its terminology: tasks, targets, and builds. We discuss how to start your tests as part of your Ant build lifecycle, and we also show how to produce some fancy reports with the results of the JUnit execution. This chapter serves as a basis for most of the rest of the book, because you need a good ...

Get JUnit in Action, Second Edition 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.