tw.teddysoft.ezspec.keyword.When Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of ezspec-core Show documentation
Show all versions of ezspec-core Show documentation
ezspec is a framework for adopting Gherkin in Java testing.
The newest version!
package tw.teddysoft.ezspec.keyword;
import java.util.function.Consumer;
/**
* {@code When} is a class for representing Gherkin When keyword.
*
* @author Teddy Chen
* @since 1.0
*/
public class When extends Step implements ConcurrentGroup {
public static final String KEYWORD = "When";
/**
* Instantiates a new When step.
*
* @param description the step description
* @param continuous the parameter for deciding to continue executing
* the next step after this step failed
* @param callback the step definition
*/
public When(String description, boolean continuous, Consumer callback){
super(description, continuous, callback);
}
@Override
public String getName() {
return KEYWORD;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy