JUnit in Action, Third Edition

JUnit in Action, Third Edition

eBook Details:

  • Paperback: 525 pages
  • Publisher: WOW! eBook; 3rd edition (August 25, 2020)
  • Language: English
  • ISBN-10: 1617297046
  • ISBN-13: 978-1617297045

eBook Description:

JUnit is the gold standard for unit testing Java applications. Filled with powerful new features designed to automate software testing, JUnit 5 boosts your productivity and helps avoid debugging nightmares. Whether you’re just starting with JUnit or you want to ramp up on the new features, JUnit in Action, Third Edition has you covered. Extensively revised with new code and new chapters, JUnit in Action, 3rd Edition is an up-to-date guide to smooth software testing. Dozens of hands-on examples illustrate JUnit 5’s innovations for dependency injection, nested testing, parameterized tests, and more. Throughout, you’ll learn how to use JUnit 5 to automate your testing, for a process that consumes less resources, and gives you more time for developing.

If you’re a Java developer, you have to learn JUnit, the de facto standard for testing Java applications for over a decade. JUnit 5 is a complete overhaul of this leading Java unit testing framework, filled with new tools that make it easier than ever to write effective tests. JUnit 5 brings more granularity and avoids the need to import an entire library, allows multiple runners to work simultaneously and, best of all, allows developers to make full use of the new language features of Java 8 and beyond.

What’s inside

  • Introduction to unit testing
  • Connecting JUnit 5 with build tools such as Maven or Gradle
  • Working with JUnit 5 extensions
  • Develop Test Driven Development and Behavior Driven Development applications
  • Migrating from JUnit 4 to 5

JUnit in Action, Third Edition is a fully revised guide to unit testing Java applications with the latest version of JUnit. It’s full of hands-on techniques for solving real-world testing problems, such as using mocks for testing isolation, automating your testing, and test-driven development. You’ll also get to grips with more than just testing tools, thanks author Cătălin Tudose’s testing strategy pyramid, which lays out how to break your testing down into different layers – from unit testing right through to system and acceptance testing. Practical examples demonstrate each new JUnit 5 feature, such as new architecture, as well as nested tests, tagged tests, dynamic tests, and dependency injection. With full coverage of migrating your JUnit 4 applications to JUnit 5, and integrating JUnit with other build tools and continuous integration tools, JUnit in Action sets you on the path to bug-free code.

DOWNLOAD

Leave a Reply

Your email address will not be published. Required fields are marked *