From b64e1a9856fceaf8c583c55f156e68e9b600098a Mon Sep 17 00:00:00 2001 From: Maksym Kryvchun Date: Fri, 24 Jun 2022 20:51:27 +0300 Subject: [PATCH] Comments (#45) --- README.md | 3 ++- pkg/bdd/bdd.go | 2 ++ 2 files changed, 4 insertions(+), 1 deletion(-) 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()