"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.
Commercial Use
Modify
Distribute
Place Warranty
Sub-License
Private Use
Use Patent Claims
Hold Liable
Use Trademarks
Include Copyright
State Changes
Include License
Include Notice
These details are provided for information only. No information here is legal advice and should not be used as such.
There are no reported vulnerabilities
30 Day SummaryDec 17 2024 — Jan 16 2025
|
12 Month SummaryJan 16 2024 — Jan 16 2025
|