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

ReadMe add step go get ... see provided patch to fix it #609

Open
surfmuggle opened this issue Feb 1, 2024 · 0 comments
Open

ReadMe add step go get ... see provided patch to fix it #609

surfmuggle opened this issue Feb 1, 2024 · 0 comments

Comments

@surfmuggle
Copy link

surfmuggle commented Feb 1, 2024

👓 What did you see?

For someone new to Go and godog the Readme could be improved by providing more hints / steps to do.
See surfmuggle-patch-1 to fix it.

File go.sum

  • Expected File go.sum exists
  • Actual go.sum does not exists

According to the README these files should be present
image

As far as i can tell i did every step of the readme. But the file sum.go is missing in my folder.

image

To my understanding sum.go is not created yet, because no building command (like go build, go test) has been run yet.

Running go test

  • Expected: go test results in testing: warning: no tests to run PASS ok godogs
  • Actual: go test results in a FAIL see below
C:\dev\golang\src\TestHello\godogs>go test
# godogs
godogs_test.go:3:8: no required module provides package github.com/cucumber/godog; to add it:
        go get github.com/cucumber/godog
FAIL    godogs [setup failed]

✅ What did you expect to see?

Add go get github.com/cucumber/godog above the phrase Our module should now look like this:.
See this godog-my-patch-1 to fix it.

📦 Which tool/library version are you using?

🔬 How could we reproduce it?

Steps to reproduce the behavior:

  1. Install '...' version '...'
  2. Create a file called '....'
  3. Run command '....'
  4. See error '....'

📚 Any additional context?


This text was originally generated from a template, then edited by hand. You can modify the template here.

@surfmuggle surfmuggle changed the title ReadMe add step go get ... ReadMe add step go get ... see provided patch to fix it Feb 1, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant