Modern Testing Tools for Java Developers
summary
Five concrete tools and how they change tests: AssertJ replaces brittle asserts with recursive comparison, soft assertions and custom assertion classes so one line verifies nested DTO fields; RestAssured integrates with OpenAPI-generated clients to remove repetitive request/response plumbing; Awaitility polls up to 10 seconds for asynchronous events instead of Thread.sleep; WireMock runs as a Dockerized service virtualization using JSON mappings (can record traffic) to replace fragile team stubs; PiTest runs mutation testing, surfaces a missed equals/edge case and raises test quality by exposing live mutants.
AI-written summary · about
chapters (7)
- 0:00Introduction to testing tools
- 2:00Advanced AssertJ features
- 13:46Custom assertions and design
- 21:01API testing with RestAssured
- 30:12Asynchronous testing
- 38:12Service virtualization
- 48:23Mutation testing with PITest
related talks
46mModern Testing Tools for Java Developers
31mModern Testing Tools for Java Developers
55mNext-Gen Testing Tools for Java
45mHow to Write Tests in 2021
47mMicroservices Testing with Java
51mTesting for Unicorns
42mUse testing to Develop Better Software Faster
47mFrom Bugs to Brilliance: Testing Toolbox in Action
