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

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

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

import java.lang.annotation.Documented;
import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;

/**
 * Marks methods to be executed before the whole Scenario has been executed.
 * Essentially means that the method is executed before the first call of
 * either given(), when(), or then().
 * 

* It is guaranteed that the method is only invoked once */ @Documented @Retention( RetentionPolicy.RUNTIME ) @Target( ElementType.METHOD ) public @interface BeforeScenario { }





© 2015 - 2024 Weber Informatics LLC | Privacy Policy