Interface CaseAsProvider


public interface CaseAsProvider
Provides the description of a scenario case.
Since:
0.15.0
  • Method Summary

    Modifier and Type
    Method
    Description
    as(String value, List<String> parameterNames, List<?> parameterValues)
    Provides the description of a single scenario case depending on the test parameters and optional additional arguments
  • Method Details

    • as

      String as(String value, List<String> parameterNames, 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 the CaseAs annotation.
      parameterNames - the parameter names
      parameterValues - the parameter values. Depending on the value of CaseAs.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