List of Listings
Chapter 1. JUnit jump-start
Listing 1.1. The test calculator class
Listing 1.2. A simple test calculator program
Chapter 2. Exploring core JUnit
Listing 2.1. The CalculatorTest test case
Listing 2.2. Parameterized tests
Chapter 3. Mastering JUnit
Listing 3.1. Request, Response, RequestHandler, and Controller interfaces
Listing 3.2. The generic controller
Listing 3.3. Special response class signaling an error
Listing 3.4. TestDefaultController—a bootstrap iteration
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.