Testing in Java

Unit Testing

Something to consider - 7 Popular Unit Test Naming Conventions - DZone Agile

JUnit

Arguably the most common unit testing library is JUnit

JUnit

JUnit 5 User Guide - Parameterised Tests JUnit 5 User Guide, one of the best guides on parameterised tests is Guide to JUnit 5 Parameterized Tests | Baeldung

Assertions

AssertJ is a very nice looking way of doing better assertions when testing, and there are also handy JSON and XML add-ons, see AssertJ - fluent assertions java library and GitHub - assertj/assertj: AssertJ is a library providing easy to use rich typed assertions