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

Custom step definitions #99

Closed
ghost opened this issue Jul 7, 2017 · 3 comments
Closed

Custom step definitions #99

ghost opened this issue Jul 7, 2017 · 3 comments
Labels

Comments

@ghost
Copy link

ghost commented Jul 7, 2017

Seems like Karate runner ignores glue option of @CucumberOptions. How can I extend step definitions?

@ptrthomas
Copy link
Member

This is not supported. The recommended way to extend Karate is by calling JS functions or if you really need to write Java code, that is easy as well.

Kindly refer to this example for how easy it is to call a static Java method from Karate: schema.feature

@mejuhi
Copy link

mejuhi commented Dec 29, 2020

Hello @ptrthomas ,
Following issue seemed to be old one, I was hoping if you can tell if there any future roadmap to support custom step definition in java (like we have in cucumber)

@ptrthomas
Copy link
Member

@mejuhi no. it is not needed. explained here: #398

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

No branches or pull requests

2 participants