Commit 761e3926 authored by root's avatar root
Browse files

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

parent cc69cfe5
Loading
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -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);
    }
+37 −0
Original line number Diff line number Diff line
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---*/

}
+4 −0
Original line number Diff line number Diff line
Scenario: Unit test scenario test 123
Given It [is] a [happy] day
When [Sun] is shining
Then It is a [fun] day