更新时间:2021-07-02 15:34:56
coverpage
Title Page
Copyright
Mastering Software Testing with JUnit 5
Credits
About the Author
About the Reviewers
www.PacktPub.com
Why subscribe?
Customer Feedback
Preface
What this book covers
What you need for this book
Who this book is for
Conventions
Reader feedback
Customer support
Downloading the example code
Errata
Piracy
Questions
Retrospective On Software Quality And Java Testing
Software quality
Quality engineering
Requirements and specification
Quality Assurance
ISO/IEC-25000
Verification and Validation
Software defects
Static analysis
Software testing
Testing levels
Unit testing
Integration testing
System testing
Testing methods
Black-box testing
White-box testing
Non-functional testing
Testing types
Other testing approaches
Testing frameworks for the JVM
JUnit 3
Standard tests in JUnit 3
Test execution in JUnit 3
JUnit 4
Standard tests in JUnit 4
Test execution in JUnit 4
Advanced features of JUnit 4
JUnit ecosystem
Summary
What’s New In JUnit 5
Road to JUnit 5
JUnit 5 motivation
Modularity
JUnit 4 runners
JUnit 4 rules
JUnit 5 inception
JUnit 5 community
JUnit 5 architecture
Test Engine SPI
Test Launcher API
Running tests in JUnit 5
Jupiter tests with Maven
Jupiter tests with Gradle
Legacy tests with Maven
Legacy tests wih Gradle
The ConsoleLauncher
Jupiter tests in JUnit 4
IntelliJ
Eclipse
The extension model of JUnit 5
Test lifecycle
Conditional extension points
Dependency injection
Third-party extensions
JUnit 5 Standard Tests
Test instance lifecycle
Skipping tests
Display names
Assertions
Jupiter assertions
Group of assertions
Asserting exceptions
Asserting timeouts
Third-party assertion libraries
Tagging and filtering tests
Filtering tests with Maven
Maven regular support
Filtering tests with Gradle
Meta-annotations
Conditional test execution
Assumptions
Nested tests
Repeated tests
Migration from JUnit 4 to JUnit 5
Rule support in Jupiter