Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
    jenisys
    @jenisys
    @yelisetti This functionality is not available in Gherkin. You would need to use a text-template engine to generate the feature files from your parameter space. Otherwise, it is rather easy to use such parameters in the step implementation, but it is harder to show these parameters in Gherkin (output).
    yelisetti
    @yelisetti
    @jenisys Thank you for the help.
    Patrick
    @Patrick_Doering_gitlab
    Hi together, I have a question to gherkin or better to build the gherkin project. I wanted to add a new gherkin dialect and some new keywords. From the contributing to Gherkin page I get not enough information about how to customize or expand the actual gherkin. Can you help me?
    Especially what kind of steps do I have to do?
    jenisys
    @jenisys
    @Patrick You mean to ass a new language ? Add a record to gherkin-languages.json file and provide a pull-request on Github. see https://github.com/cucumber/cucumber/blob/master/gherkin/gherkin-languages.json
    jw1121
    @jw1121
    Hi, Anyone here know how to use Gherkin to parser .feature file? I want to create separate tool which runs through feature and run specific rules based on Scenario.
    jw1121
    @jw1121
    btw i'm trying to do this in java
    jenisys
    @jenisys
    @jw1121 Have you looked at the Java implentation of the Gherkin parser in the Cucumber repo at Github ?
    jw1121
    @jw1121
    @jenisys I'm new to Gherkin and not sure where to start looking in the code.
    jenisys
    @jenisys
    @jw2121 https://github.com/cucumber/cucumber/blob/master/gherkin/gherkin.berp — This the URL to the Gherkin grammar that is currenly used. In the subdirectories are language implementation of a Gherkin parser in this language. Look at the Java implementation and start from there.
    Eric Kessler
    @enkessler
    Now see, if you were making the tool in Ruby then I would have had you covered. ;)
    jw1121
    @jw1121
    Ok how do i export as a library to my java project?
    jw1121
    @jw1121
    @jenisys @enkessler do you know how to export Gherkin to your project?
    jenisys
    @jenisys
    @jw1121 I am not quite sure what you mean with export. Have you looked at the Gherkin parser implementation ?
    jw1121
    @jw1121
    @jenisys Gherkin-java seems to be just a wrapper for gherkin-go and its uses c21e to process the request. What i'm trying to do is extract out Gherkin as library (jar) from cucumber and use in my java program.
    jw1121
    @jw1121
    I’m assuming i’ll have to create this library out of gherkin-java, gherkin-go, and c21e. Hoping it would be easy as importing few library through maven.
    Eric Kessler
    @enkessler
    @jw1121 Isn't gherkin-java already a library? Sure, it uses that other stuff under the hood but is the wrapper that you are talking about a jar that you can include in your project?
    jw1121
    @jw1121
    @enkessler
    Maybe
    Im missing some thing when i run mavem on gherkin-java it doesnt include c21e or gherkin-go.
    Marit van Dijk
    @mlvandijk
    @jw1121 Have a look at Gherkin-java here: https://github.com/cucumber/cucumber/tree/master/gherkin/java
    Check the Cucumber-jvm pom.xml for the gherkin dependency: https://github.com/cucumber/cucumber-jvm/blob/master/pom.xml
    SimitTomar
    @SimitTomar

    @/all: Have released a Module for Cucumber & WebdriverIO, feel free to check it out and provide your valuable feedback:

    wdio-cucumber-parallel-execution – A Cucumber & WebdriverIO capability for running your Automation Pack in Parallel at Scenario Level (rather than the default Feature File Level) - https://www.npmjs.com/package/wdio-cucumber-parallel-execution

    TestFirst
    @gittadesushil
    What is the suggested alternative for ScenarioDefinition in Gherkin.dll 6.0.0.0. Looks like it change from 5.0.0.0 to 6.0.0.0.
    Nayshawn Danner
    @NayshawnD_twitter
    Hi all, I am exploring ways to share progress closer to the development effort. For my team, the test-report always has passing statuses by the time the Product Owner gets it. Does anyone use the Pending and Undefined states in their delivery process? Perhaps to show percentage-to-completion for a releases.
    Julien
    @LiohAu
    Hey guys, when working with date/time in screnarios, is this kind of approach recommended : https://gist.github.com/qpowell/e3de79e408250e36f702 ?
    Or would it be better to write scenarios with examples using dates like : D+1
    CodeWidSid
    @CodeWidSid
    Hi, I am fairly new to this... I am working on an intermediate solution to parse/convert gherkin's into JSON. i have tried the gherkin package but unable to get a valid output from the stream. Can anyone here help me brief about the syntax or steps to follow..thanks in advance
    Julien
    @LiohAu
    @aslakhellesoy is there a replacement for the gherkin editor tool ?
    Julien
    @LiohAu
    I am looking for a Gherkin collaborative editor (google doc + syntax highlighting...)
    Vignesh
    @avignesh_fd_twitter
    could someone suggest me some good maven-plugin/dependency for Gherkins code formatter?
    Chrizzly
    @Chris2011
    Hey, is there an official gherkin antlr .g file? I created a ticket months ago on this repo here: antlr/grammars-v4#772 Yes the ticket was created for two languages (gherkin and galen). This was a mistake when I created it. Anyway, I know the textmate lexer file and is there a antlr one?
    jenisys
    @jenisys
    @Chris2011 Cucumber uses the the following gherkin.berp file as grammar specification for the various language implementations. Otherwise, there is (older?) grammar description in pygments that @aslakhelleshoy provided (I think). I am not aware of an ANTLR grammar specification. But if you create one, these are the sources to understand and remodel the grammar in ANTLR.
    Chrizzly
    @Chris2011
    Thx for the info :) @jenisys