gherkin.lexer.LexingError: Lexing error on line 1: '@author Grant
Hello,
I am using your Gherkin parser to read .feature files and output the result to json (which will then be fed into my application). It has been working fairly well, but I ran into an issue when attempting to deal with tags.
Because tags are used to provide additional information about the particular scenario or feature and are useful when filtering/searching through scenarios and features, the more flexibility to include information the better.
In my experience and those around me who have much more expertise than me with BDD, the .feature files have tags formatted this way…
@tagName tagValue
placed either before the scenario or before the feature.
@author Grant
Feature: Testing assorted things
As a user of this computer
I want to perform basic functionalities of Windows
So that I can perform more advanced tasks.or
@type random
Scenario: WMP
Given a windows media player
When I double click on a song
Then I should hear that song playing
When using your parser, it handles tags in the same locations, but it appears like it only can handle tags formatted like...@tagName
^ Note the absence of the tagValue.When I put a tagValue like...@author Grant
Feature: Testing assorted things
As a user of this computerit comes up withgherkin.lexer.LexingError: Lexing error on line 1: '@author Grant
as your wiki would indicate... Gherkin has been fed some input which it cannot recognize at all.Am I formatting something incorrectly? if so, please let me know how to fix it. if not...Is there a way for me to configure the parser to handle tag name value pairs?
if so, please let me know how. if not...Might there be a possibility to include this capability?
if so, that would greatly appreciated J:)I am using the gherkin-2.12.0.jarSincerely,Grant Freder
--
-- Rules --
1) Please prefix the subject with [Ruby], [JVM] or [JS].
2) Please use interleaved answers http://en.wikipedia.org/wiki/Posting_style#Interleaved_style
3) If you have a question, don't reply to an existing message. Start a new topic instead.
You received this message because you are subscribed to the Google Groups Cukes group. To post to this group, send email to cu...@googlegroups.com. To unsubscribe from this group, send email to cukes+un...@googlegroups.com. For more options, visit this group at https://groups.google.com/d/forum/cukes?hl=en
---
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/groups/opt_out.
<story path="examples/jbehave/table_test.feature"
title="As a user of this computer
I want to perform table tests
So that I can tell Garrett">
<meta>
<property keyword="@" name="author" value="Grant" />
<property keyword="@" name="number" value="10" />
<property keyword="@" name="scenario_title" value="" />
</meta>
<scenario keyword="Scenario:" title="Testing the table feature">
<step outcome="successful">
Given a colon:
<parameter>
<parameters>
<names>
<name>message</name>
<name>number</name>
</names>
<values>
<value>hello</value>