templates.integration-test.it.pipeline.steps.vm Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of foundation-mda Show documentation
Show all versions of foundation-mda Show documentation
Model driven architecture artifacts for aiSSEMBLE
The newest version!
package ${basePackage}.tests;
import static org.junit.Assert.assertTrue;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import io.cucumber.java.After;
import io.cucumber.java.Before;
import io.cucumber.java.en.Given;
import io.cucumber.java.en.Then;
import io.cucumber.java.en.When;
public class PipelineSteps {
private static final Logger logger = LoggerFactory.getLogger(PipelineSteps.class);
@Before("@pipeline")
public void setup() {
}
@After("@pipeline")
public void cleanup() {
}
@Given("a precondition")
public void a_precondition() {
// code the items you need before performing your action
}
@When("an action occurs")
public void an_action_occurs() {
// execute your action
}
@Then("a postcondition results")
public void a_postcondition_results() {
// check for expected postconditions - continue to use normal assert pattern within tests
assertTrue(true);
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy