Testing from a developer perspective. Libs and principles and tipps.
Sprint and Spring Boot
Spring Framework Testing (Reference Manual)
Spring-Boot Testing (Reference Manual)
Custom Test Slices (Spring Boot 1.4, older article, but a good one)
Spring Modulith – A Deep Dive (on Speakerdeck)
Articles and websites
- Spring Core Testing Manual
- Baeldung Spring-Tests
- Rieckpil Test Slices
- Rieckpil Courses:
- Testing Spring Boot Applications Primer
- Hands-On Mocking with Mockito
- TDD With Spring Boot Done Right
- Testing Spring Boot Applications Masterclass (Course Edition)
- Testing Spring Boot Applications Masterclass (Bundle Edition)
- Testing Spring Boot Applications Masterclass (Coaching Edition)
Testing with Docker Containers
- Nowadays: https://www.testcontainers.org/ – very handy
allows to use docker containers inside JUnit Tests
Testing your Architecture
- ArchUnit
allows to specify architecture rules in JUnit Tests - jQAssistant
allows to define and validate project specific rules on a structural level using neo4j
Testing Libraries
Methods and libraries to simplify automated testing.
- JUnit 4
- Quite complete blog post in migrating JUnit 4 to JUnit 5JUnit
- Upgrade Instructions from JUnit 4 to JUnit 5
- AssertJ
- Hamcrest
- Some nice examples for Hamcrest Matchers.
Testing in the Kotlin Universe
- MockK
(mocking library for Kotlin) - Older but still nice article on testing Libraries and Kotlin
- Kotest
- Konsist