cucumber / cucumber/godog

Can't navigate to step definition from Gherkin step

Open
#600 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
Go
Stars
2.7k
Forks
280
Avg merge
2d 20h
Merged PRs (30d)
2

Description

Hi guys,
I have some working godog tests, implemented in IntelliJ. I can successfully run them either from terminal or from the TestFeature - the issue though is that when I open the Feature file, all the steps look like being unrecognized, and Ctrl-click-ing them doesn't take me to the step definition.
How can I fix this glue issue so that I can easily go from the feature file to the implementation?

Thank you,

Contributor guide

Open the contributing guide

Research direction

Start by reproducing the behavior in the IntelliJ feature file using the working godog tests, comparing terminal or TestFeature execution with Ctrl-click navigation to the step definitions. The issue does not name repository files or tests, so first determine whether the required glue support belongs in godog or the IntelliJ integration; done means recognized Gherkin steps navigate to their implementations.

Written by the indexing model from the issue text.

Assessment

Tech stack
go
Domain
developer-experience, testing
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
20/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.