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

com.tngtech.jgiven.CurrentScenario Maven / Gradle / Ivy

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

import java.lang.annotation.Annotation;

import com.tngtech.jgiven.annotation.ScenarioState;

/**
 * This interface can be injected into a stage using the {@link ScenarioState} annotation.
 * It provided programmatic access to the current scenario.
 *
 * @since 0.12.0
 */
public interface CurrentScenario {

    /**
     * Dynamically add a tag to the scenario.
     * @param annotationClass The tag annotation class to use.
     * @param values List of custom values.
     * @since 0.12.0
     */
    void addTag( Class annotationClass, String... values );

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy