Commit 8fe1e2d8 authored by root's avatar root
Browse files

TestBuDDy - push: TEST CASE STEPS ADDED/MODIFIED- at 2019-06-05 15:17:25.716696

parent 353d46bc
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_251Steps());
        /*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_251---*/
public class testmodule1_251Steps extends Steps { 


	/*---testbuddy---step---7---*/
	@Given("It [$param_1] a [$param_2] day")
	public void stepCode7(@Named("param_1") String param_1, @Named("param_2") String param_2) {
		Assert.fail("Step not implemented yet.");
	}
	/*---testbuddy---step---7---*/


	/*---testbuddy---step---8---*/
	@When("[$param_1] is shining")
	public void stepCode8(@Named("param_1") String param_1) {
		Assert.fail("Step not implemented yet.");
	}
	/*---testbuddy---step---8---*/


	/*---testbuddy---step---9---*/
	@Then("It is a [$param_1] day")
	public void stepCode9(@Named("param_1") String param_1) {
		Assert.fail("Step not implemented yet.");
	}
	/*---testbuddy---step---9---*/

}
+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