tw.teddysoft.ezspec.keyword.Then 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 Then} is a class for representing Gherkin Then keyword.
*
* @author Teddy Chen
* @since 1.0
*/
public class Then extends Step implements ConcurrentGroup {
public static final String KEYWORD = "Then";
/**
* Instantiates a new Then 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 Then(String description, boolean continuous, Consumer callback){
super(description, continuous, callback);
}
@Override
public String getName() {
return KEYWORD;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy