Please answer these questions before submitting a bug report.
What version of godog are you using?
What version of Go are you using?
What did you do?
Created a new project with the following structure,
|-- features
| `-- health.feature
|-- main.go
|-- Dockerfile
|-- go.mod
`-- go.sum
My main.go,
package main
import "github.com/cucumber/godog"
func InitializeScenario(ctx *godog.ScenarioContext) {
}
I wanted to confirm that my Dockerfile was correctly working and running this minimal example with godog. But it failed, I then tried running it with my local copy of godog, but that failed as well.
After doing the following change it worked,
$ mv main.go main_test.go
What did you expect to see?
A more informative error message on why godog failed with my minimal example.
What did you see instead?
$ godog
failed to compile testmain package: exit status 1 - output: compile: -importcfg: open /tmp/go-build1250231118/b001/importcfg.link: no such file or directory
Please answer these questions before submitting a bug report.
What version of godog are you using?
What version of Go are you using?
What did you do?
Created a new project with the following structure,
My
main.go,I wanted to confirm that my
Dockerfilewas correctly working and running this minimal example withgodog. But it failed, I then tried running it with my local copy ofgodog, but that failed as well.After doing the following change it worked,
What did you expect to see?
A more informative error message on why
godogfailed with my minimal example.What did you see instead?
$ godog failed to compile testmain package: exit status 1 - output: compile: -importcfg: open /tmp/go-build1250231118/b001/importcfg.link: no such file or directory