Pragmatic Unit Testing in Java with JUnit, Third Edition

by: Jeff Langr

Published 2024-11-15
Internal code utj3
Print status In Print
Pages 275
User level Beginner
Keywords java, unit testing, agile, pragmatic, XP, testing, QA
Related titles

Java by Comparison
Cruising Along With Java
Functional Programming in Java, 2e

ISBN 9798888651032
Other ISBN Channel epub: 9798888651490
Channel PDF: 9798888651506
Safari: 9798888651483
BISACs COM051280
COM051230
COM051230

Highlight

The classic Pragmatic Unit Testing with Java in JUnit returns for a third edition, streamlined and rewritten with updated and more accessible code examples. In this edition, you’ll learn how to create concise, maintainable unit tests with confidence. New chapters provide a foundation of examples for testing common concepts, and guidance on incorporating modern AI tools into your development and testing. Updated topics include improving test quality via development mnemonics, increasing ROI through test and production code refactoring, and using tests to drive development.

Description

Pragmatic Unit Testing in Java with JUnit steps you through all the important unit testing topics.

If you’ve never written a unit test, you’ll be hand-held through the hard part—getting set up and started. Once past the basics, you’ll see numerous examples in order to start understanding what tests for common code concepts look like. You’ll then learn how to effectively use the essential features of JUnit, the predominant tool for writing and executing unit tests in Java.

You’ll gain the combined wisdom of Jeff Langr and original authors Andy Hunt and Dave Thomas, providing decades of unit testing experience on real production systems. You’ll learn how to:

You won’t just learn about unit testing in theory—you’ll learn about “real” unit testing the Pragmatic way by working through numerous code examples.

Contents and Extracts

Preface