Hi!
On 21 September 2016 at 12:36, Vikram Upadhya <
vikr...@gmail.com> wrote:
> Hi All,
> I am using these Jar's to generate the step defininitions.
>
> I have a .feature which has the channel for a value referenced as below.
>
>
> Scenario:
> Given that US_1 is logged into the System
> When the Parameter US_1 is available
> Then the value for US_1 needs to be validated
>
>
> Scenario:
> Given that US_2 is logged into the System
> When the Parameter US_2 is available
> Then the value for US_2 needs to be validated
>
>
> The Step definition is broken as it generates the step as
> "^that US_(//d+) is logged into the System$" for US_1
> "^that US_(//d+) is logged into the System$" for US_2
>
> IS there a way to bypass the gherkin parser to generate stubs as US_1 and
> US_2?.
>
I would implement that as a pre-step in my build process. That is, I
wouldn't consider bypassing Gherking, I would invoke a filter or
similar in Maven before executing the tests and feed a filtered
version to Cucumber.
HTH
Thomas
>
> Regards,
> Vikram_U_K
>
> Jar's referenced:
>
> cucumber-core-1.2.4.jar
> cucumber-html-0.2.3.jar
> cucumber-java-1.2.4.jar
> cucumber-junit-1.2.4.jar
> cucumber-jvm-deps-1.0.3.jar
> cucumber-testng-1.2.0.jar
> hamcrest-all.jar
> hamcrest-core-1.3.jar
> jacob-1.14.3.jar
> junit-4.12.jar
> gherkin-2.12.2.jar
> gherkin-4.0.0.jar
> gherkin-jvm-deps-1.0.4.jar
>
>
>
>
> --
> Posting rules:
http://cukes.info/posting-rules.html
> ---
> You received this message because you are subscribed to the Google Groups
> "Cukes" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to
cukes+un...@googlegroups.com.
> For more options, visit
https://groups.google.com/d/optout.
--
Thomas Sundberg
M. Sc. in Computer Science
Mobile:
+46 70 767 33 15
Blog:
http://www.thinkcode.se/blog
Twitter: @thomassundberg
Better software through faster feedback