JUnit in action
(2020)

Nonfiction

Book

Call Numbers:
005.133/JAVA/TUDOSE,C

Availability

Locations Call Number Status
Adult Nonfiction 005.133/JAVA/TUDOSE,C Available

Details

PUBLISHED
Shelter Island, NY : Manning Publications Co., [2020]
EDITION
Third edition
DESCRIPTION

xx, 538 pages : illustrations ; 24 cm

ISBN/ISSN
9781617297045, 1617297046 :, 1617297046, 9781617297045
LANGUAGE
English
NOTES

Part 1. JUnit. JUnit jump-start -- Exploring core JUnit -- JUnit architecture -- Migrating from JUnit 4 to JUnit 5 -- Software testing principles -- Part 2. Different testing strategies. Text quality -- Coarse-grained testing with stubs -- Testing with mock objects -- In container testing -- Part 3. Working with JUnit 5 and other tools. Running JUnit tests from Maven 3 -- Running JUnit tests from Gradle 6 -- JUnit IDE support -- Continuous integration with JUnit 5 -- Part 4. Working with modern frameworks and JUnit 5. JUnit 5 extension model -- Presentation-layer testing -- Testing spring applications -- Testing spring boot applications -- Testing a REST API -- Testing database applications -- Part 5. Developing applications with JUnit 5. Test-driven development with JUnit 5 -- Behavior-driven development with JUnit 5 -- Implementing a test pyramid strategy with JUnit 5

The JUnit framework is the gold standard for unit testing Java applications, and knowing it is an essential skill for Java developers. The latest version, JUnit 5, is a total overhaul, now supporting modern Java features like Lambdas and Streams. JUnit in action, third edition has been completely rewritten for this release. The book is full of examples that demonstrate JUnit's modern features, including its new architecture; nested, tagged, and dynamic tests; and dependency injection. You'll benefit from author Cătălin Tudose's unique "pyramid" testing strategy, which breaks the testing process into layers and sets you on the path to bug-free code creation