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

feature file validation #303

Open
umangsavaliya opened this issue Jul 28, 2021 · 2 comments
Open

feature file validation #303

umangsavaliya opened this issue Jul 28, 2021 · 2 comments

Comments

@umangsavaliya
Copy link

Sorry for log as Issue but it's kind of improvement.

Is it possible to validate feature file in editor. like if my content have wrong format which is not supported its possible to highlight that part as red or in some different format.

@mcoqblin-hiptest
Copy link
Contributor

It is not documented, but Gherkin validation is implemented in react-gherkin-editor.

You have to set the showGutter and activateLinter props to true.

The validation output you get is the one from the Gherkin parser.

@catalina-mo
Copy link

I activated showGutter and activateLinter but it only validates the keywors. How do I add validation for my steps?

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

3 participants