This repository contains the source code for the book 30 Testing Tools & Libraries Every Java Developer Must Know.
Current Status: 15/30 tools and libraries are covered. The next release (20/30) is scheduled for Q4 2021.
Grab your copy here.
- Enrich your existing testing toolbox
- Use the right tool for the job
- Inform about various tools & libraries of the Java testing ecosystem
- Cookbook-style introduction of each tool & library
- Hands-on testing examples that apply for testing any Java application
Requirements:
- Java 11
- Running Docker engine (required for Testcontainers)
Build the project and run all tests with
cd spring-boot-example
./mvnw verify
cd jakarta-ee-example
./mvnw verifyThe book uses a Spring Boot and Jakarta EE application to demonstrate the different tools & libraries. Only some code examples use a minimal amount of Spring Boot or Jakarta EE specifics so that you can easily apply the learnings to your tech stack.
- JUnit 4
- JUnit 5
- TestNG
- Spock
- AssertJ
- JsonPath
- Hamcrest
- XMLUnit
- JSONAssert
- REST Assured
- Mockito
- WireMock
- MockWebServer
- PowerMock
- Testcontainers
- LocalStack
- MicroShed Testing (upcoming)
- Citrus
- GreenMail
- Selenium (upcoming)
- Selenide
- Pact (upcoming)
- Spring Cloud Contract
- Diffblue
- FitNesse
- Awaitility (upcoming)
- JMH
- JMeter
- Gatling
- Quick Perf