diff --git a/README.md b/README.md index 5f4527e..d7bcb8f 100644 --- a/README.md +++ b/README.md @@ -138,8 +138,9 @@ gherkingen -help ## Go -``` +```bash go install github.com/hedhyw/gherkingen/v2/cmd/gherkingen@latest +# Notice: gherkingen -version will return "unknown" version. ``` ## Source diff --git a/pkg/bdd/bdd.go b/pkg/bdd/bdd.go index 3d6b12b..cb85278 100644 --- a/pkg/bdd/bdd.go +++ b/pkg/bdd/bdd.go @@ -106,6 +106,8 @@ func (f *Feature) subBlock(name string, fn func(t *testing.T, f *Feature)) { } // Background defines a background block. +// +// Notice: Background is not running for each step. func (f *Feature) Background(name string, fn func(t *testing.T, f *Feature)) { f.T.Helper()