Skip to main content
  • Hoopla logo
    Powered by Hoopla
  • Browse
  • My Hoopla
  • Log In
Books, videos, and music - all free from your public library!
LoginSign Up

Footer

Hoopla logo, Go to homepage
  • For Patrons
  • For Libraries (opens in new window)
  • For Vendors (opens in new window)
  • Facebook (opens in new window)
  • X (opens in new window)
  • Instagram (opens in new window)
  • YouTube (opens in new window)
  • TikTok (opens in new window)
  • LinkedIn (opens in new window)

Our Company

  • Our Story
  • Get Hoopla for your Library (opens in new window)
  • Get your content on hoopla (opens in new window)
  • Join our team (opens in new window)
  • Accessibility Statement

Our Content

  • Audiobooks
  • Ebooks
  • Movies
  • Television
  • Comics
  • BingePasses
  • Music
  • The Loop Blog

Help

  • Help Center
  • Submit Feedback
  • Facebook (opens in new window)
  • X (opens in new window)
  • Instagram (opens in new window)
  • YouTube (opens in new window)
  • TikTok (opens in new window)
  • LinkedIn (opens in new window)
  • Download on the App Store (opens in new window)
  • Get it on Google Play (opens in new window)
  • Available at Amazon Appstore (opens in new window)
© 2026 Midwest Tape, LLC. All rights reserved. Privacy Policy | Terms of Use
  1. Navigate Home
  2. Ebooks
  3. Pragmatic Unit Testing in Java With Junit

EBOOK

Pragmatic Unit Testing in Java With Junit

Jeff Langr
(0)
sign up
Pages
300
Year
2024
Language
English
Publisher
The Pragmatic Programmers

About

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.

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:

• Craft your code to make unit testing easier in the first place
• Craft your unit tests to minimize your maintenance effort
• Use unit tests to support keeping your system clean through refactoring
• Refactor toward a design that will create the highest possible ROI
• Test the tough stuff, including code that must be mocked
• Remember what's important when writing unit tests
• Help your team reap and sustain the benefits of unit testing
• Use AI tooling as part of a development process that incorporates unit testing

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.

What You Need:

You'll need the Java SDK (Software Development Kit) version 21 or higher to work through the examples in the book. You'll also want an IDE (Integrated Development Environment) in which to build code. While most of the book doesn't assume use of any specific IDE, you'll find a number of "getting started" screen shots to help you if you're using IntelliJ IDEA.

Related Subjects

  • General (Computers)
  • Computers
  • Adult Nonfiction
  • Java
  • Languages
  • Open Source
  • Programming
  • General (Software Development & Engineering)
  • Software Development & Engineering
  • Quality Assurance & Testing

Artists

Jeff LangrAuthor