Pragmatic Unit Testing in Java with JUnit, Third Edition
eBook - ePub

Pragmatic Unit Testing in Java with JUnit, Third Edition

  1. English
  2. ePUB (mobile friendly)
  3. Available on iOS & Android
eBook - ePub

Pragmatic Unit Testing in Java with JUnit, Third Edition

About this book

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.

Frequently asked questions

Yes, you can cancel anytime from the Subscription tab in your account settings on the Perlego website. Your subscription will stay active until the end of your current billing period. Learn how to cancel your subscription.
No, books cannot be downloaded as external files, such as PDFs, for use outside of Perlego. However, you can download books within the Perlego app for offline reading on mobile or tablet. Learn more here.
Perlego offers two plans: Essential and Complete
  • Essential is ideal for learners and professionals who enjoy exploring a wide range of subjects. Access the Essential Library with 800,000+ trusted titles and best-sellers across business, personal growth, and the humanities. Includes unlimited reading time and Standard Read Aloud voice.
  • Complete: Perfect for advanced learners and researchers needing full, unrestricted access. Unlock 1.4M+ books across hundreds of subjects, including academic and specialized titles. The Complete Plan also includes advanced features like Premium Read Aloud and Research Assistant.
Both plans are available with monthly, semester, or annual billing cycles.
We are an online textbook subscription service, where you can get access to an entire online library for less than the price of a single book per month. With over 1 million books across 1000+ topics, we’ve got you covered! Learn more here.
Look out for the read-aloud symbol on your next book to see if you can listen to it. The read-aloud tool reads text aloud for you, highlighting the text as it is being read. You can pause it, speed it up and slow it down. Learn more here.
Yes! You can use the Perlego app on both iOS or Android devices to read anytime, anywhere — even offline. Perfect for commutes or when you’re on the go.
Please note we cannot support devices running on iOS 13 and Android 7 or earlier. Learn more about using the app.
Yes, you can access Pragmatic Unit Testing in Java with JUnit, Third Edition by Jeff Langr in PDF and/or ePUB format, as well as other popular books in Computer Science & Programming in Java. We have over one million books available in our catalogue for you to explore.

Information

Table of contents

  1. Pr agmatic Unit Testing in Java with JUnit, Third Edition