cucumber / cucumber/godog

trying and failing :-(

Open
#173 7 comments 0 reactions 0 assignees View on GitHub
:question: question
Dominant language
Go
Stars
2.7k
Forks
280
Avg merge
2d 20h
Merged PRs (30d)
2

Description

So I have a feature file inside the features folder., and I have a test file inside some package folder "mystuff". Inside it there a file called "Abbreviate.go". How can I tell godog to use the Abbreviate_test.go in the same "mystuff" folder (but it has the package "mystuff_test")

I've looked for more info, but I find it unclear from documentation where files should be and what they should contain.
I tried with the testmain option, but it starts complaining about missing colors and other stuff
:-(
Let's just start with some basic example where people have subdirectories: where can I find such example?

Contributor guide

Open the contributing guide

Research direction

Review the feature file under features, mystuff/Abbreviate.go, mystuff/Abbreviate_test.go, and the testmain option described in the issue. Compare the current documentation with the requested subdirectory layout and identify what a basic working example must show. Done means the documentation includes a clear example covering those files and package names.

Written by the indexing model from the issue text.

Assessment

Tech stack
go
Domain
documentation, testing
Issue type
Documentation
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.