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

Extending Step defs throws syntax error #453

Closed
sauravkumar05 opened this issue Jul 10, 2018 · 1 comment
Closed

Extending Step defs throws syntax error #453

sauravkumar05 opened this issue Jul 10, 2018 · 1 comment

Comments

@sauravkumar05
Copy link

I know Karate point is to make sure to not add more steps but there is always more custom requirement in projects where you have to do checks more than just API. I could have used the example of using java code example in the feature file but having just one step and all the code behind it simplifies the feature file and makes the file readable too.

I tried to extend the StepDefs class and added the glue to the cucumber options to the package where the steps was added but it still throws syntax.
com.intuit.karate.exception.KarateException: syntax error:

@ptrthomas
Copy link
Member

duplicate of #398 this has been discussed in depth there.

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

No branches or pull requests

2 participants