QuBiT / cucumber-netbeans-plugin

Plugin / Module which allow Syntax Highlighting and many more in NetBeans with .feature Files
MIT License
50 stars 19 forks source link

French plugin: "Contexte:" yield an unexpected token ":" error #5

Closed ukabu closed 15 years ago

ukabu commented 15 years ago

I have a feature with a "Contexte:" section (Scénario background).

I get an unexpected token ":" for the colon in the line...

Contexte:
    Lorsque je suis authentifié sur le site
QuBiT commented 15 years ago

Please read the Language Support in the README file (http://github.com/QuBiT/cucumber-netbeans-plugin) and send me the list required list and file so that I can include all possible keywords.

QuBiT commented 15 years ago

Additional:

Lorque (When) should not be used in the Background. In the Background you should only define what is given (because there is no conditional sense in Background) and then in your Scenario you should do the test "When -> Then" (based also on the Given from the Background.

ukabu commented 15 years ago

When I refactor my common steps from Scenarios into a Background, I get lazy and do not rename the first keyword. Also, I thing that the plugin should not report errors for things that cucumber does not report error on.

QuBiT commented 15 years ago

Problem solved and new FRENCH Version released.