Combinatorial Test and Fault Characterization Framework
coffee4j is a Java-based framework for combinatorial test input generation and fault characterization.
It is based on a fast implementation of the well-known IPOG algorithm and supports constraint handling, robustness testing and fault localization.
A JUnit 5 extension seamlessly integrates combinatorial test input generation, fault characterization and automated test execution.
To quickly start, use the following Maven dependency in your project.
Create a new JUnit 5 test as follows.
The annotations on testGreetings indicate that it is a combinatorial test method, i.e. a test method which is executed several times with different values for its parameters.
The static method model describes the input parameter model and the testing strength.
Based on that model, test inputs are generated and the testGreetings method is executed once for each generated test input.