JUnit in Action

Cover of JUnit in Action

EPUB · English

Price and availability

EPUB eBookUS store

$67.99

Sign in to buy

You’ll review your order and final price before payment.

Download from your library after delivery. Protected eBooks need a compatible reading app.

For personal use under the eBook licence.

Territorial availability

Available in: Andorra, Austria, Australia, Belgium, Bulgaria, Canada, Switzerland, Cyprus, Czechia, Germany, Denmark, Estonia, Spain, Finland, France, United Kingdom, Guernsey, Greece, Croatia, Hungary, Ireland, Isle of Man, Iceland, Italy, Jersey, Japan, Liechtenstein, Lithuania, Luxembourg, Latvia, Monaco, Malta, Netherlands, Norway, Poland, Portugal, Romania, Sweden, Slovenia, Slovakia, San Marino, United States, Vatican City, South Africa

Publisher rights cover these stores: US, UK, Canada, EU, Australia. Checkout availability is shown above.

Format
EPUB
DRM
Not stated by the publisher
Language
English
Publisher
Manning
Published
16 November 2020
ISBN
9781638356554
Subjects
Web programming, Programming & scripting languages: general, Software testing & verification, Web programming, Programming and scripting languages: general, Software testing and verification

About this book

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.SummaryJUnit 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, Third 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, youll learn how to use JUnit 5 to automate your testing, for a process that consumes less resources, and gives you more time for developing.About the technologyThe JUnit framework is the gold standard for unit testing Java applicationsand 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.About the bookJUnit 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 Catalin Tudose's unique &quote;pyramid&quote; testing strategy, which breaks the testing process into layers and sets you on the path to bug-free code creation.What's insideMigrating from JUnit 4 to 5Effective test automationTest-driven development and behavior-driven developmentUsing mocks for test isolationConnecting JUnit 5 with Maven or GradleAbout the readerFor intermediate Java developers.About the authorCatalin Tudose has a Ph.D. in Computer Science, and over 15 years of experience as a Senior Java Developer and Technical Team Lead. Previous editions were authored by Petar Tahchiev, Felipe Leme, Gary Gregory, and Vincent Massol.Table of ContentsPART 1 - JUNIT1 JUnit jump-start2 Exploring core JUnit3 JUnit architecture4 Migrating from JUnit 4 to JUnit 55 Software testing principlesPART 2 - DIFFERENT TESTING STRATEGIES6 Test quality7 Coarse-grained testing with stubs8 Testing with mock objects9 In-container testingPART 3 - WORKING WITH JUNIT 5 AND OTHER TOOLS10 Runing JUnit tests from Maven 311 Running JUnit tests from Gradle 612 JUnit 5 IDE support13 Coninuous integration with JUnit 5PART 4 - WORKING WITH MODERN FRAMEWORKS AND JUNIT 514 JUnit 5 extension model15 Presentation-layer testing16 Testing Spring applications17 Testing Spring Boot applications18 Testing a REST API19 Testing database applicationsPART 5 - DEVELOPING APPLICATIONS WITH JUNIT 520 Test-driven development with JUnit 521 Behavior-driven development in JUnit 522 Implementing a test pyramid strategy with JUnit 5

Bibliographic data © Gardners Books Ltd.