A library that leverages the JUnit parameterized tests to test all scenarios provided.
This project was created 10 years ago to help test a rule-heavy business logic.
It works well when testing functions that receive an input or a set of inputs, and then an output is expected as a return value or a change in state.
It follows the AAA pattern in unit testing, which I find confusing, so in this case, I called it a PEA-pattern (Prepare, Execute, and Assert). With this library, assertion is implicit.
How to write tests - Text Version
- Make sure your system supports at least Java 11.
- Build the project by running:
mvn clean package
This project depends on a Mockito version that was compiled on JDK 11. For this reason, it is recommended to use a JDK in your IDE that is equal or higher to version 11 so that the IDE can support all the classes used in this project.