"Tests with Parameters" allows you to simply add parameters to your JUnit test methods. TwiP calls such methods with all possible combinations of their parameters... or at least some reasonable subset of commonly failing values in the case of Integers, etc. You can define your own set of values to use and/or you can reduce the values set with an assume expression in an annotation, e.g. ">= 0". Default values exist for the primitive types (int, etc.), their Class wrappers (Integer, etc.), Enums and Strings. For other types or for a different set of values, you can define a static method or field and annotate the parameters of your test method(s), or you can annotate the field or method to inject the values by type.
Use Patent Claims
These details are provided for information only. No information here is legal advice and should not be used as such.