Loading src/test/java/TestbuddyRunnerTest.java +1 −0 Original line number Diff line number Diff line Loading @@ -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); } Loading src/test/java/testmodule1_251Steps.java 0 → 100755 +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---*/ } src/test/resources/stories/testmodule1_251/Unittestscenariotest123369.story 0 → 100755 +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 Loading
src/test/java/TestbuddyRunnerTest.java +1 −0 Original line number Diff line number Diff line Loading @@ -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); } Loading
src/test/java/testmodule1_251Steps.java 0 → 100755 +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---*/ }
src/test/resources/stories/testmodule1_251/Unittestscenariotest123369.story 0 → 100755 +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