Package com.tngtech.jgiven.annotation
Interface CaseAsProvider
-
public interface CaseAsProvider
Provides the description of a scenario case.- Since:
- 0.15.0
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.lang.String
as(java.lang.String value, java.util.List<java.lang.String> parameterNames, java.util.List<?> parameterValues)
Provides the description of a single scenario case depending on the test parameters and optional additional arguments
-
-
-
Method Detail
-
as
java.lang.String as(java.lang.String value, java.util.List<java.lang.String> parameterNames, java.util.List<?> parameterValues)
Provides the description of a single scenario case depending on the test parameters and optional additional arguments- Parameters:
value
- the value provided by theCaseAs
annotation.parameterNames
- the parameter namesparameterValues
- the parameter values. Depending on the value ofCaseAs.formatValues()
, this is either a list of formatted strings, or a list of the original values passed to the test method- Returns:
- a description of the case
-
-