Commit 761e3926 authored by root's avatar root

TestBuDDy - push: TEST CASE STEPS ADDED/MODIFIED- at 2019-06-05 10:25:37.205270

parent cc69cfe5
Pipeline #2134 canceled with stages
......@@ -52,6 +52,7 @@ public class TestbuddyRunnerTest extends JUnitStories {
public InjectableStepsFactory stepsFactory() {
ArrayList<Steps> stepFileList = new ArrayList<>();
/*test-buddy modules - start*/
stepFileList.add(new testmodule1_200Steps());
/*test-buddy modules - end*/
return new InstanceStepsFactory(configuration(), stepFileList);
}
......
import org.jbehave.core.annotations.*;
import org.jbehave.core.steps.Steps;
import org.junit.Assert;
/**
* Testbuddy generated steps file
* @author testbuddy
*
*/
/*---testbuddy---module---testmodule1_200---*/
public class testmodule1_200Steps extends Steps {
/*---testbuddy---step---4---*/
@Given("It [$param_1] a [$param_2] day")
public void stepCode4(@Named("param_1") String param_1, @Named("param_2") String param_2) {
Assert.fail("Step not implemented yet.");
}
/*---testbuddy---step---4---*/
/*---testbuddy---step---5---*/
@When("[$param_1] is shining")
public void stepCode5(@Named("param_1") String param_1) {
Assert.fail("Step not implemented yet.");
}
/*---testbuddy---step---5---*/
/*---testbuddy---step---6---*/
@Then("It is a [$param_1] day")
public void stepCode6(@Named("param_1") String param_1) {
Assert.fail("Step not implemented yet.");
}
/*---testbuddy---step---6---*/
}
Scenario: Unit test scenario test 123
Given It [is] a [happy] day
When [Sun] is shining
Then It is a [fun] day
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment