Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cucumber Plugin crashes when I enclose any word with double quotes in feature file. It is reproducible in the group io.cucumber and not in info.cukes group #297

Closed
pavanswt opened this issue Nov 26, 2018 · 2 comments

Comments

@pavanswt
Copy link

Steps to Reproduce

  1. Use the following maven dependency.

https://mvnrepository.com/artifact/io.cucumber/cucumber-junit

  1. Create a feature file with a string parameter like below.

Feature: Title of your feature
I want to use this template for my feature file

Scenario: Title of your scenario
Given I want to write a step with the precondition
When I complete action
Then I validate the "Hello" text

  1. Run as the feature file with cucumber JVM

  2. Copy the snippets and put in to step def class file.

  3. Restart your eclipse and observe the feature file is crashed with the following error message.

Illegal repetition near index 14
I validate the {string} text
^
Please find the attached screenshots and files for your reference.
stepdefinition file
feature file
error message

@qvdk
Copy link
Member

qvdk commented Nov 26, 2018

Hi @pavanswt,

Thank you for submitting bug report !
I am please to annonce you this issue was known, and the fix was ever done #285
It will be available in the next release.

If you want the fix before, you can build master or install manually the fix from https://github.com/qvdk/cucumber-eclipse/blob/release/0.0.23/cucumber.eclipse.download/download/0.0.23-SNAPSHOT/cucumber-eclipse-plugin-0.0.23-SNAPSHOT.zip

@qvdk qvdk closed this as completed Nov 26, 2018
@pavanswt
Copy link
Author

pavanswt commented Nov 26, 2018 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants