Cucumberish
Cucumberish copied to clipboard
How to navigate to step definition from feature file by clicking on step from feature file?
I am using this library and its very useful only thing i have observed is one cannot navigate to step definition from feature file by clicking on step. Due to this it's very difficult to search the corresponding step in step definition file. If testcase is failing it shows in feature file which step is failing but you cannot navigate to step definition of the same by clicking on step.
Any idea how can i achieve this?
I achieved it in Visual Studio Code using plugin "Cucumber (Gherkin) Full Support" and following config:
{
"cucumberautocomplete.steps": [
"path/to/swift/sources/**/*swift"
],
"cucumberautocomplete.syncfeatures": "path/to/feature/files/*.feature",
"cucumberautocomplete.customParameters": [
{
"parameter":"\\\\",
"value":"\\"
}
],
}
Config must be in .vscode/settings.json
If switch swift
to java
then will work with Java instead.