rlogiacco / Natural

Natural is a collection of Eclipse plugins to enable rich smart editing of acceptance tests using natural language definition files. It currently supports Cucumber and JBehave syntax.
Eclipse Public License 1.0
75 stars 37 forks source link

allow tag for scenatrio outline #64

Closed Bokatbo closed 4 years ago

Bokatbo commented 4 years ago

Use of tags in scenario-outline should be allowed, it is not today. See example below

@123 Scenario Outline: using Scheduled Task. Given a banana on the market "settlePlace" When the banana is sold Then the status should be "status"

@fr Examples: | settlePlace | status | | France | VERIFIED |

@CH @BCDEF Examples: | settlePlace | status | | China | VERIFIED | | Boubou | VERIFIED |

drkstr101 commented 4 years ago

I couldn't find any reference to this being valid Gherkin syntax.

https://cucumber.io/docs/gherkin/reference/ https://github.com/featurist/node-ebnf-diagram/blob/master/test/gherkin.ebnf (unofficial) https://github.com/cucumber-attic/gherkin2/wiki/BNF (unofficial)

If you could point to the appropriate spec which claims this is valid Gherkin syntax we will make sure it is supported in the next grammar update

drkstr101 commented 4 years ago

Fixed in https://github.com/rlogiacco/Natural/pull/73

drkstr101 commented 4 years ago

PS: There was another open issue which was also using tags on examples. Two people using the same pattern was proof enough in my book!

Bokatbo commented 4 years ago

Thanks..there is none officiel reference for this tags pattern, but we find it powerfull to choose different tags to execute different example. Thanks. Good job. Boris.

tor. 7. maj 2020 23.45 skrev Aaron R. Miller notifications@github.com:

PS: There was another open Issue which was also using tags on examples. Two people using the same pattern was proof enough in my book!

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/rlogiacco/Natural/issues/64#issuecomment-625513298, or unsubscribe https://github.com/notifications/unsubscribe-auth/ANX5CPEKM2UN7RVOK4GOJBTRQMTX7ANCNFSM4JMKBDYA .

github-actions[bot] commented 4 years ago

This issue has not been updated for a while: marking it as stale.