All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.tngtech.jgiven.annotation.CaseDescriptionProvider Maven / Gradle / Ivy

There is a newer version: 1.3.1
Show newest version
package com.tngtech.jgiven.annotation;

import java.util.List;

/**
 * Provides the description of a scenario case.
 *
 * @since 0.9.2
 *
 * @deprecated since 0.15.0 please use {@link CaseAsProvider}
 */
@Deprecated
public interface CaseDescriptionProvider {

    /**
     * Provides the description of a single scenario case depending on the test parameters and optional additional arguments
     * @param value the value provided by the {@link CaseAs} annotation.
     * @param parameterNames the parameter names
     * @param parameterValues the parameter values. Depending on the value of {@link CaseAs#formatValues()}, this is
     *                        either a list of formatted strings, or a list of the original values passed to the test method
     * @return a description of the case
     */
    String description( String value, List parameterNames, List parameterValues );

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy