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

cucumber.api.java.fi.Kun Maven / Gradle / Ivy

There is a newer version: 7.18.1
Show newest version
package cucumber.api.java.fi;

import cucumber.runtime.java.StepDefAnnotation;

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

/**
 * To execute steps in a feature file the steps must be
 * connected to executable code. This can be done by annotating
 * a method with a cucumber or regular expression.
 * 

* The parameters extracted from the step by the expression * along with the data table or doc string argument are provided as * arguments to the method. *

* The types of the parameters are determined by the cucumber or * regular expression. *

* The type of the data table or doc string argument is determined * by the argument name value. When none is provided cucumber will * attempt to transform the data table or doc string to the type * of the last argument. */ @Retention(RetentionPolicy.RUNTIME) @Target(ElementType.METHOD) @StepDefAnnotation @Documented public @interface Kun { /** * @return a cucumber or regular expression */ String value(); /** * @return max amount of milliseconds this is allowed to run for. 0 (default) means no restriction. */ long timeout() default 0; }





© 2015 - 2024 Weber Informatics LLC | Privacy Policy