diff --git a/Makefile b/Makefile index 06c95c4..0bff941 100644 --- a/Makefile +++ b/Makefile @@ -23,8 +23,8 @@ check-go-version: test: check-go-version @echo "running all tests" @go fmt ./... - @go run honnef.co/go/tools/cmd/staticcheck@v0.5.1 github.com/cucumber/godog - @go run honnef.co/go/tools/cmd/staticcheck@v0.5.1 github.com/cucumber/godog/cmd/godog + @go run honnef.co/go/tools/cmd/staticcheck@v0.5.1 git.golang1.ru/softonik/godog + @go run honnef.co/go/tools/cmd/staticcheck@v0.5.1 git.golang1.ru/softonik/godog/cmd/godog go vet ./... go test -race ./... go run ./cmd/godog -f progress -c 4 @@ -69,7 +69,7 @@ artifacts: define _build mkdir $(ARTIFACT_DIR)/godog-$(VERS)-$1-$2 - env GOOS=$1 GOARCH=$2 go build -ldflags "-X github.com/cucumber/godog.Version=$(VERS)" -o $(ARTIFACT_DIR)/godog-$(VERS)-$1-$2/godog ./cmd/godog + env GOOS=$1 GOARCH=$2 go build -ldflags "-X git.golang1.ru/softonik/godog.Version=$(VERS)" -o $(ARTIFACT_DIR)/godog-$(VERS)-$1-$2/godog ./cmd/godog cp README.md $(ARTIFACT_DIR)/godog-$(VERS)-$1-$2/README.md cp LICENSE $(ARTIFACT_DIR)/godog-$(VERS)-$1-$2/LICENSE cd $(ARTIFACT_DIR) && tar -c --use-compress-program="pigz --fast" -f godog-$(VERS)-$1-$2.tar.gz godog-$(VERS)-$1-$2 && cd .. diff --git a/_examples/api/README.md b/_examples/api/README.md index 52acd11..80c6dd0 100644 --- a/_examples/api/README.md +++ b/_examples/api/README.md @@ -44,7 +44,7 @@ Now we have described a success case and an error when the request method is not Execute `godog run`. You should see the following result, which says that all of our steps are yet undefined and provide us with the snippets to implement them. -![Screenshot](https://raw.github.com/cucumber/godog/master/_examples/api/screenshots/undefined.png) +![Screenshot](https://raw.git.golang1.ru/softonik/godog/master/_examples/api/screenshots/undefined.png) ### Step 3 @@ -56,7 +56,7 @@ need to store state within steps (a response), we should introduce a structure w package main import ( - "github.com/cucumber/godog" + "git.golang1.ru/softonik/godog" ) type apiFeature struct { @@ -114,7 +114,7 @@ import ( "reflect" "testing" - "github.com/cucumber/godog" + "git.golang1.ru/softonik/godog" ) type apiFeature struct { @@ -228,7 +228,7 @@ import ( "encoding/json" "net/http" - "github.com/cucumber/godog" + "git.golang1.ru/softonik/godog" ) func getVersion(w http.ResponseWriter, r *http.Request) { @@ -282,7 +282,7 @@ used to respond with the correct constant version number. Run our tests to see whether everything is happening as we have expected: `go test -v` -![Screenshot](https://raw.github.com/cucumber/godog/master/_examples/api/screenshots/passed.png) +![Screenshot](https://raw.git.golang1.ru/softonik/godog/master/_examples/api/screenshots/passed.png) ### Conclusions diff --git a/_examples/api/api.go b/_examples/api/api.go index eb558b1..9056dc6 100644 --- a/_examples/api/api.go +++ b/_examples/api/api.go @@ -5,7 +5,7 @@ import ( "encoding/json" "net/http" - "github.com/cucumber/godog" + "git.golang1.ru/softonik/godog" ) func getVersion(w http.ResponseWriter, r *http.Request) { diff --git a/_examples/api/api_test.go b/_examples/api/api_test.go index 0f4f4d0..ddb7135 100644 --- a/_examples/api/api_test.go +++ b/_examples/api/api_test.go @@ -9,7 +9,7 @@ import ( "reflect" "testing" - "github.com/cucumber/godog" + "git.golang1.ru/softonik/godog" ) type apiFeature struct { diff --git a/_examples/assert-godogs/godogs_test.go b/_examples/assert-godogs/godogs_test.go index 6aec222..1d998d7 100644 --- a/_examples/assert-godogs/godogs_test.go +++ b/_examples/assert-godogs/godogs_test.go @@ -5,8 +5,8 @@ import ( "os" "testing" - "github.com/cucumber/godog" - "github.com/cucumber/godog/colors" + "git.golang1.ru/softonik/godog" + "git.golang1.ru/softonik/godog/colors" "github.com/spf13/pflag" "github.com/stretchr/testify/assert" ) diff --git a/_examples/attachments/attachments_test.go b/_examples/attachments/attachments_test.go index caf9381..d90e81a 100644 --- a/_examples/attachments/attachments_test.go +++ b/_examples/attachments/attachments_test.go @@ -11,8 +11,8 @@ import ( "os" "testing" - "github.com/cucumber/godog" - "github.com/cucumber/godog/colors" + "git.golang1.ru/softonik/godog" + "git.golang1.ru/softonik/godog/colors" ) var opts = godog.Options{ diff --git a/_examples/custom-formatter/emoji.go b/_examples/custom-formatter/emoji.go index 50cc5d5..1a320fd 100644 --- a/_examples/custom-formatter/emoji.go +++ b/_examples/custom-formatter/emoji.go @@ -5,7 +5,7 @@ import ( "io" "math" - "github.com/cucumber/godog" + "git.golang1.ru/softonik/godog" ) const ( diff --git a/_examples/custom-formatter/godogs_test.go b/_examples/custom-formatter/godogs_test.go index 159c1f4..98ce328 100644 --- a/_examples/custom-formatter/godogs_test.go +++ b/_examples/custom-formatter/godogs_test.go @@ -6,8 +6,8 @@ import ( "os" "testing" - "github.com/cucumber/godog" - "github.com/cucumber/godog/colors" + "git.golang1.ru/softonik/godog" + "git.golang1.ru/softonik/godog/colors" flag "github.com/spf13/pflag" ) diff --git a/_examples/db/README.md b/_examples/db/README.md index 67adb5a..0ac7ddd 100644 --- a/_examples/db/README.md +++ b/_examples/db/README.md @@ -1,7 +1,7 @@ # An example of API with DB The following example demonstrates steps how we describe and test our API with DB using **godog**. -To start with, see [API example](https://github.com/cucumber/godog/tree/master/_examples/api) before. +To start with, see [API example](https://git.golang1.ru/softonik/godog/tree/master/_examples/api) before. We have extended it to be used with database. The interesting point is, that we have [go-txdb](https://github.com/DATA-DOG/go-txdb) library, diff --git a/_examples/db/api_test.go b/_examples/db/api_test.go index 4098525..97c1612 100644 --- a/_examples/db/api_test.go +++ b/_examples/db/api_test.go @@ -11,7 +11,7 @@ import ( "strings" txdb "github.com/DATA-DOG/go-txdb" - "github.com/cucumber/godog" + "git.golang1.ru/softonik/godog" ) func init() { diff --git a/_examples/go.mod b/_examples/go.mod index 65ba28d..9e167c0 100644 --- a/_examples/go.mod +++ b/_examples/go.mod @@ -1,12 +1,12 @@ -module github.com/cucumber/godog/_examples +module git.golang1.ru/softonik/godog/_examples go 1.16 -replace github.com/cucumber/godog => ../ +replace git.golang1.ru/softonik/godog => ../ require ( github.com/DATA-DOG/go-txdb v0.1.6 - github.com/cucumber/godog v0.15.0 + git.golang1.ru/softonik/godog v0.15.0 github.com/go-sql-driver/mysql v1.7.1 github.com/spf13/pflag v1.0.6 github.com/stretchr/testify v1.8.2 diff --git a/_examples/godogs/godogs_test.go b/_examples/godogs/godogs_test.go index 58482d8..0951951 100644 --- a/_examples/godogs/godogs_test.go +++ b/_examples/godogs/godogs_test.go @@ -15,12 +15,12 @@ import ( "context" "flag" "fmt" - "github.com/cucumber/godog/_examples/godogs" + "git.golang1.ru/softonik/godog/_examples/godogs" "os" "testing" - "github.com/cucumber/godog" - "github.com/cucumber/godog/colors" + "git.golang1.ru/softonik/godog" + "git.golang1.ru/softonik/godog/colors" ) var opts = godog.Options{ diff --git a/_examples/incorrect-project-structure/README.md b/_examples/incorrect-project-structure/README.md index 51f5727..39800a7 100644 --- a/_examples/incorrect-project-structure/README.md +++ b/_examples/incorrect-project-structure/README.md @@ -1,4 +1,4 @@ -This example is to help reproduce issue [#383](https://github.com/cucumber/godog/issues/383) +This example is to help reproduce issue [#383](https://git.golang1.ru/softonik/godog/issues/383) To run the example: diff --git a/_examples/incorrect-project-structure/go.mod b/_examples/incorrect-project-structure/go.mod index f6ae508..a90e388 100644 --- a/_examples/incorrect-project-structure/go.mod +++ b/_examples/incorrect-project-structure/go.mod @@ -2,6 +2,6 @@ module incorrect-project-structure go 1.13 -require github.com/cucumber/godog v0.15.0 +require git.golang1.ru/softonik/godog v0.15.0 -replace github.com/cucumber/godog => ../../ +replace git.golang1.ru/softonik/godog => ../../ diff --git a/_examples/incorrect-project-structure/main.go b/_examples/incorrect-project-structure/main.go index d900ac9..c859fa7 100644 --- a/_examples/incorrect-project-structure/main.go +++ b/_examples/incorrect-project-structure/main.go @@ -1,6 +1,6 @@ package main -import "github.com/cucumber/godog" +import "git.golang1.ru/softonik/godog" func InitializeScenario(ctx *godog.ScenarioContext) { diff --git a/cmd/godog/internal/cmd_build.go b/cmd/godog/internal/cmd_build.go index 7ea4c02..ecaab80 100644 --- a/cmd/godog/internal/cmd_build.go +++ b/cmd/godog/internal/cmd_build.go @@ -5,8 +5,8 @@ import ( "go/build" "path/filepath" - "github.com/cucumber/godog/colors" - "github.com/cucumber/godog/internal/builder" + "git.golang1.ru/softonik/godog/colors" + "git.golang1.ru/softonik/godog/internal/builder" "github.com/spf13/cobra" ) @@ -40,7 +40,7 @@ The test runner can be executed with the same flags as when using godog run.`, func buildCmdRunFunc(cmd *cobra.Command, args []string) error { fmt.Println(colors.Yellow("Use of godog CLI is deprecated, please use *testing.T instead.")) - fmt.Println(colors.Yellow("See https://github.com/cucumber/godog/discussions/478 for details.")) + fmt.Println(colors.Yellow("See https://git.golang1.ru/softonik/godog/discussions/478 for details.")) bin, err := filepath.Abs(buildOutput) if err != nil { diff --git a/cmd/godog/internal/cmd_root.go b/cmd/godog/internal/cmd_root.go index 4978e27..ca479c5 100644 --- a/cmd/godog/internal/cmd_root.go +++ b/cmd/godog/internal/cmd_root.go @@ -4,7 +4,7 @@ import ( "github.com/spf13/cobra" "github.com/spf13/pflag" - "github.com/cucumber/godog/internal/flags" + "git.golang1.ru/softonik/godog/internal/flags" ) var version bool diff --git a/cmd/godog/internal/cmd_run.go b/cmd/godog/internal/cmd_run.go index afa2291..293d29f 100644 --- a/cmd/godog/internal/cmd_run.go +++ b/cmd/godog/internal/cmd_run.go @@ -9,9 +9,9 @@ import ( "github.com/spf13/cobra" - "github.com/cucumber/godog/colors" - "github.com/cucumber/godog/internal/builder" - "github.com/cucumber/godog/internal/flags" + "git.golang1.ru/softonik/godog/colors" + "git.golang1.ru/softonik/godog/internal/builder" + "git.golang1.ru/softonik/godog/internal/flags" ) var opts flags.Options @@ -44,7 +44,7 @@ buildable go source.`, func runCmdRunFunc(cmd *cobra.Command, args []string) error { fmt.Println(colors.Yellow("Use of godog CLI is deprecated, please use *testing.T instead.")) - fmt.Println(colors.Yellow("See https://github.com/cucumber/godog/discussions/478 for details.")) + fmt.Println(colors.Yellow("See https://git.golang1.ru/softonik/godog/discussions/478 for details.")) osArgs := os.Args[1:] diff --git a/cmd/godog/internal/cmd_version.go b/cmd/godog/internal/cmd_version.go index 78fb8bc..2edb0ac 100644 --- a/cmd/godog/internal/cmd_version.go +++ b/cmd/godog/internal/cmd_version.go @@ -6,7 +6,7 @@ import ( "github.com/spf13/cobra" - "github.com/cucumber/godog" + "git.golang1.ru/softonik/godog" ) // CreateVersionCmd creates the version subcommand. diff --git a/cmd/godog/main.go b/cmd/godog/main.go index 99b8730..3f7a4b4 100644 --- a/cmd/godog/main.go +++ b/cmd/godog/main.go @@ -4,7 +4,7 @@ import ( "fmt" "os" - "github.com/cucumber/godog/cmd/godog/internal" + "git.golang1.ru/softonik/godog/cmd/godog/internal" ) func main() { diff --git a/example_subtests_test.go b/example_subtests_test.go index 55de2ac..6ba420a 100644 --- a/example_subtests_test.go +++ b/example_subtests_test.go @@ -3,7 +3,7 @@ package godog_test import ( "testing" - "github.com/cucumber/godog" + "git.golang1.ru/softonik/godog" ) func ExampleTestSuite_Run_subtests() { diff --git a/flags.go b/flags.go index 45efbfe..604a568 100644 --- a/flags.go +++ b/flags.go @@ -8,8 +8,8 @@ import ( "strconv" "strings" - "github.com/cucumber/godog/colors" - "github.com/cucumber/godog/internal/utils" + "git.golang1.ru/softonik/godog/colors" + "git.golang1.ru/softonik/godog/internal/utils" ) // repeats a space n times diff --git a/flags_test.go b/flags_test.go index d00efc1..b06523b 100644 --- a/flags_test.go +++ b/flags_test.go @@ -7,8 +7,8 @@ import ( "strings" "testing" - "github.com/cucumber/godog/colors" - "github.com/cucumber/godog/internal/formatters" + "git.golang1.ru/softonik/godog/colors" + "git.golang1.ru/softonik/godog/internal/formatters" ) func TestFlagsShouldRandomizeAndGenerateSeed(t *testing.T) { diff --git a/flags_v0110.go b/flags_v0110.go index eddf027..cd04b1d 100644 --- a/flags_v0110.go +++ b/flags_v0110.go @@ -8,7 +8,7 @@ import ( "github.com/spf13/pflag" - "github.com/cucumber/godog/internal/flags" + "git.golang1.ru/softonik/godog/internal/flags" ) // Choose randomly assigns a convenient pseudo-random seed value. diff --git a/flags_v0110_test.go b/flags_v0110_test.go index e8f14b7..cf2ee00 100644 --- a/flags_v0110_test.go +++ b/flags_v0110_test.go @@ -3,7 +3,7 @@ package godog import ( "testing" - "github.com/cucumber/godog/internal/flags" + "git.golang1.ru/softonik/godog/internal/flags" "github.com/stretchr/testify/assert" ) diff --git a/fmt.go b/fmt.go index f30f9f8..08d56ae 100644 --- a/fmt.go +++ b/fmt.go @@ -6,11 +6,11 @@ import ( "strings" "unicode/utf8" - "github.com/cucumber/godog/colors" - "github.com/cucumber/godog/formatters" - internal_fmt "github.com/cucumber/godog/internal/formatters" - "github.com/cucumber/godog/internal/models" - "github.com/cucumber/godog/internal/storage" + "git.golang1.ru/softonik/godog/colors" + "git.golang1.ru/softonik/godog/formatters" + internal_fmt "git.golang1.ru/softonik/godog/internal/formatters" + "git.golang1.ru/softonik/godog/internal/models" + "git.golang1.ru/softonik/godog/internal/storage" ) // FindFmt searches available formatters registered diff --git a/fmt_test.go b/fmt_test.go index 695da88..c7a1630 100644 --- a/fmt_test.go +++ b/fmt_test.go @@ -7,7 +7,7 @@ import ( "github.com/stretchr/testify/assert" "github.com/stretchr/testify/require" - "github.com/cucumber/godog" + "git.golang1.ru/softonik/godog" ) func Test_FindFmt(t *testing.T) { diff --git a/formatters/fmt_test.go b/formatters/fmt_test.go index 186861c..10a44c5 100644 --- a/formatters/fmt_test.go +++ b/formatters/fmt_test.go @@ -7,7 +7,7 @@ import ( "github.com/stretchr/testify/assert" "github.com/stretchr/testify/require" - "github.com/cucumber/godog" + "git.golang1.ru/softonik/godog" ) func Test_FindFmt(t *testing.T) { diff --git a/go.mod b/go.mod index 2d08274..450b6eb 100644 --- a/go.mod +++ b/go.mod @@ -1,4 +1,4 @@ -module github.com/cucumber/godog +module git.golang1.ru/softonik/godog go 1.16 diff --git a/internal/builder/ast_test.go b/internal/builder/ast_test.go index a1a2033..0312f8a 100644 --- a/internal/builder/ast_test.go +++ b/internal/builder/ast_test.go @@ -9,7 +9,7 @@ import ( var astContextSrc = `package main import ( - "github.com/cucumber/godog" + "git.golang1.ru/softonik/godog" ) func MyContext(s *godog.Suite) { @@ -18,7 +18,7 @@ func MyContext(s *godog.Suite) { var astTwoContextSrc = `package lib import ( - "github.com/cucumber/godog" + "git.golang1.ru/softonik/godog" ) func ApiContext(s *godog.Suite) { diff --git a/internal/builder/builder.go b/internal/builder/builder.go index 4cd4928..4a58600 100644 --- a/internal/builder/builder.go +++ b/internal/builder/builder.go @@ -23,13 +23,13 @@ var ( compiler = filepath.Join(tooldir, "compile") linker = filepath.Join(tooldir, "link") gopaths = filepath.SplitList(build.Default.GOPATH) - godogImportPath = "github.com/cucumber/godog" + godogImportPath = "git.golang1.ru/softonik/godog" // godep runnerTemplate = template.Must(template.New("testmain").Parse(`package main import ( - "github.com/cucumber/godog" + "git.golang1.ru/softonik/godog" {{if or .TestSuiteContexts .ScenarioContexts}}_test "{{.ImportPath}}"{{end}} {{if or .XTestSuiteContexts .XScenarioContexts}}_xtest "{{.ImportPath}}_test"{{end}} {{if or .XTestSuiteContexts .XScenarioContexts}}"testing/internal/testdeps"{{end}} @@ -70,7 +70,7 @@ func main() { // temp file for import tempFileTemplate = template.Must(template.New("temp").Parse(`package {{.Name}} -import "github.com/cucumber/godog" +import "git.golang1.ru/softonik/godog" var _ = godog.Version `)) diff --git a/internal/builder/builder_test.go b/internal/builder/builder_test.go index 0af99aa..ab8e4cd 100644 --- a/internal/builder/builder_test.go +++ b/internal/builder/builder_test.go @@ -12,8 +12,8 @@ import ( "github.com/stretchr/testify/require" - "github.com/cucumber/godog" - "github.com/cucumber/godog/internal/builder" + "git.golang1.ru/softonik/godog" + "git.golang1.ru/softonik/godog/internal/builder" ) func InitializeScenario(ctx *godog.ScenarioContext) {} @@ -51,7 +51,7 @@ var builderTestFile = `package godogs import ( "fmt" - "github.com/cucumber/godog" + "git.golang1.ru/softonik/godog" ) func thereAreGodogs(available int) error { @@ -91,7 +91,7 @@ var builderXTestFile = `package godogs_test import ( "fmt" - "github.com/cucumber/godog" + "git.golang1.ru/softonik/godog" "godogs" ) @@ -138,7 +138,7 @@ func main() { var emptyBuilderTestFile = `package godogs -import "github.com/cucumber/godog" +import "git.golang1.ru/softonik/godog" func InitializeScenario(ctx *godog.ScenarioContext) {} ` diff --git a/internal/flags/flags_test.go b/internal/flags/flags_test.go index de13333..372d6af 100644 --- a/internal/flags/flags_test.go +++ b/internal/flags/flags_test.go @@ -6,7 +6,7 @@ import ( "github.com/spf13/pflag" "github.com/stretchr/testify/assert" - "github.com/cucumber/godog/internal/flags" + "git.golang1.ru/softonik/godog/internal/flags" ) func Test_BindFlagsShouldRespectFlagDefaults(t *testing.T) { diff --git a/internal/formatters/fmt.go b/internal/formatters/fmt.go index 3efe1f4..cf1a95c 100644 --- a/internal/formatters/fmt.go +++ b/internal/formatters/fmt.go @@ -11,9 +11,9 @@ import ( messages "github.com/cucumber/messages/go/v21" - "github.com/cucumber/godog/colors" - "github.com/cucumber/godog/internal/models" - "github.com/cucumber/godog/internal/utils" + "git.golang1.ru/softonik/godog/colors" + "git.golang1.ru/softonik/godog/internal/models" + "git.golang1.ru/softonik/godog/internal/utils" ) var ( diff --git a/internal/formatters/fmt_base.go b/internal/formatters/fmt_base.go index 607a1c0..16e7f90 100644 --- a/internal/formatters/fmt_base.go +++ b/internal/formatters/fmt_base.go @@ -13,11 +13,11 @@ import ( messages "github.com/cucumber/messages/go/v21" - "github.com/cucumber/godog/colors" - "github.com/cucumber/godog/formatters" - "github.com/cucumber/godog/internal/models" - "github.com/cucumber/godog/internal/storage" - "github.com/cucumber/godog/internal/utils" + "git.golang1.ru/softonik/godog/colors" + "git.golang1.ru/softonik/godog/formatters" + "git.golang1.ru/softonik/godog/internal/models" + "git.golang1.ru/softonik/godog/internal/storage" + "git.golang1.ru/softonik/godog/internal/utils" ) // BaseFormatterFunc implements the FormatterFunc for the base formatter. diff --git a/internal/formatters/fmt_base_test.go b/internal/formatters/fmt_base_test.go index f14efcf..3826d6a 100644 --- a/internal/formatters/fmt_base_test.go +++ b/internal/formatters/fmt_base_test.go @@ -7,8 +7,8 @@ import ( "fmt" "testing" - "github.com/cucumber/godog" - "github.com/cucumber/godog/internal/flags" + "git.golang1.ru/softonik/godog" + "git.golang1.ru/softonik/godog/internal/flags" "github.com/stretchr/testify/assert" ) diff --git a/internal/formatters/fmt_color_tag_test.go b/internal/formatters/fmt_color_tag_test.go index 747ab1a..1f86340 100644 --- a/internal/formatters/fmt_color_tag_test.go +++ b/internal/formatters/fmt_color_tag_test.go @@ -7,7 +7,7 @@ import ( "strings" "testing" - "github.com/cucumber/godog/colors" + "git.golang1.ru/softonik/godog/colors" ) type csiState int diff --git a/internal/formatters/fmt_cucumber.go b/internal/formatters/fmt_cucumber.go index 31380c9..0c2dc34 100644 --- a/internal/formatters/fmt_cucumber.go +++ b/internal/formatters/fmt_cucumber.go @@ -19,8 +19,8 @@ import ( "sort" "strings" - "github.com/cucumber/godog/formatters" - "github.com/cucumber/godog/internal/models" + "git.golang1.ru/softonik/godog/formatters" + "git.golang1.ru/softonik/godog/internal/models" messages "github.com/cucumber/messages/go/v21" ) diff --git a/internal/formatters/fmt_events.go b/internal/formatters/fmt_events.go index c5ffcb5..6782265 100644 --- a/internal/formatters/fmt_events.go +++ b/internal/formatters/fmt_events.go @@ -5,8 +5,8 @@ import ( "fmt" "io" - "github.com/cucumber/godog/formatters" - "github.com/cucumber/godog/internal/utils" + "git.golang1.ru/softonik/godog/formatters" + "git.golang1.ru/softonik/godog/internal/utils" messages "github.com/cucumber/messages/go/v21" ) diff --git a/internal/formatters/fmt_flushwrap.go b/internal/formatters/fmt_flushwrap.go index 129b062..53f9fa8 100644 --- a/internal/formatters/fmt_flushwrap.go +++ b/internal/formatters/fmt_flushwrap.go @@ -3,7 +3,7 @@ package formatters import ( "sync" - "github.com/cucumber/godog/formatters" + "git.golang1.ru/softonik/godog/formatters" messages "github.com/cucumber/messages/go/v21" ) diff --git a/internal/formatters/fmt_junit.go b/internal/formatters/fmt_junit.go index d7b2517..97585cc 100644 --- a/internal/formatters/fmt_junit.go +++ b/internal/formatters/fmt_junit.go @@ -9,8 +9,8 @@ import ( "strconv" "time" - "github.com/cucumber/godog/formatters" - "github.com/cucumber/godog/internal/utils" + "git.golang1.ru/softonik/godog/formatters" + "git.golang1.ru/softonik/godog/internal/utils" ) func init() { diff --git a/internal/formatters/fmt_multi.go b/internal/formatters/fmt_multi.go index 001c998..ee1b22f 100644 --- a/internal/formatters/fmt_multi.go +++ b/internal/formatters/fmt_multi.go @@ -3,8 +3,8 @@ package formatters import ( "io" - "github.com/cucumber/godog/formatters" - "github.com/cucumber/godog/internal/storage" + "git.golang1.ru/softonik/godog/formatters" + "git.golang1.ru/softonik/godog/internal/storage" messages "github.com/cucumber/messages/go/v21" ) diff --git a/internal/formatters/fmt_multi_test.go b/internal/formatters/fmt_multi_test.go index be33b99..4b7a257 100644 --- a/internal/formatters/fmt_multi_test.go +++ b/internal/formatters/fmt_multi_test.go @@ -4,7 +4,7 @@ import ( "errors" "testing" - "github.com/cucumber/godog/formatters" + "git.golang1.ru/softonik/godog/formatters" messages "github.com/cucumber/messages/go/v21" "github.com/stretchr/testify/assert" ) diff --git a/internal/formatters/fmt_output_test.go b/internal/formatters/fmt_output_test.go index 4cd9f96..d91e02e 100644 --- a/internal/formatters/fmt_output_test.go +++ b/internal/formatters/fmt_output_test.go @@ -14,7 +14,7 @@ import ( "github.com/stretchr/testify/assert" "github.com/stretchr/testify/require" - "github.com/cucumber/godog" + "git.golang1.ru/softonik/godog" ) const fmtOutputTestsFeatureDir = "formatter-tests/features" @@ -24,7 +24,7 @@ var tT *testing.T func Test_FmtOutput(t *testing.T) { tT = t pkg := os.Getenv("GODOG_TESTED_PACKAGE") - os.Setenv("GODOG_TESTED_PACKAGE", "github.com/cucumber/godog") + os.Setenv("GODOG_TESTED_PACKAGE", "git.golang1.ru/softonik/godog") featureFiles, err := listFmtOutputTestsFeatureFiles() require.Nil(t, err) diff --git a/internal/formatters/fmt_pretty.go b/internal/formatters/fmt_pretty.go index 76d7337..9e26dee 100644 --- a/internal/formatters/fmt_pretty.go +++ b/internal/formatters/fmt_pretty.go @@ -10,9 +10,9 @@ import ( messages "github.com/cucumber/messages/go/v21" - "github.com/cucumber/godog/colors" - "github.com/cucumber/godog/formatters" - "github.com/cucumber/godog/internal/models" + "git.golang1.ru/softonik/godog/colors" + "git.golang1.ru/softonik/godog/formatters" + "git.golang1.ru/softonik/godog/internal/models" ) func init() { diff --git a/internal/formatters/fmt_progress.go b/internal/formatters/fmt_progress.go index 9722ef7..c285238 100644 --- a/internal/formatters/fmt_progress.go +++ b/internal/formatters/fmt_progress.go @@ -7,7 +7,7 @@ import ( "sort" "strings" - "github.com/cucumber/godog/formatters" + "git.golang1.ru/softonik/godog/formatters" messages "github.com/cucumber/messages/go/v21" ) diff --git a/internal/formatters/formatter-tests/events/scenario_outline b/internal/formatters/formatter-tests/events/scenario_outline index 44a976d..cbfc4d3 100644 --- a/internal/formatters/formatter-tests/events/scenario_outline +++ b/internal/formatters/formatter-tests/events/scenario_outline @@ -1,57 +1,57 @@ {"event":"TestRunStarted","version":"0.1.0","timestamp":-6795364578871,"suite":"events"} {"event":"TestSource","location":"formatter-tests/features/scenario_outline.feature:2","source":"@outline @tag\nFeature: outline\n\n @scenario\n Scenario Outline: outline\n Given passing step\n When passing step\n Then odd \u003codd\u003e and even \u003ceven\u003e number\n\n @tagged\n Examples: tagged\n | odd | even |\n | 1 | 2 |\n | 2 | 0 |\n | 3 | 11 |\n\n @tag2\n Examples:\n | odd | even |\n | 1 | 14 |\n | 3 | 9 |\n"} {"event":"TestCaseStarted","location":"formatter-tests/features/scenario_outline.feature:13","timestamp":-6795364578871} -{"event":"StepDefinitionFound","location":"formatter-tests/features/scenario_outline.feature:6","definition_id":"fmt_output_test.go:101 -\u003e github.com/cucumber/godog/internal/formatters_test.passingStepDef","arguments":[]} +{"event":"StepDefinitionFound","location":"formatter-tests/features/scenario_outline.feature:6","definition_id":"fmt_output_test.go:101 -\u003e git.golang1.ru/softonik/godog/internal/formatters_test.passingStepDef","arguments":[]} {"event":"TestStepStarted","location":"formatter-tests/features/scenario_outline.feature:6","timestamp":-6795364578871} {"event":"TestStepFinished","location":"formatter-tests/features/scenario_outline.feature:6","timestamp":-6795364578871,"status":"passed"} -{"event":"StepDefinitionFound","location":"formatter-tests/features/scenario_outline.feature:7","definition_id":"fmt_output_test.go:101 -\u003e github.com/cucumber/godog/internal/formatters_test.passingStepDef","arguments":[]} +{"event":"StepDefinitionFound","location":"formatter-tests/features/scenario_outline.feature:7","definition_id":"fmt_output_test.go:101 -\u003e git.golang1.ru/softonik/godog/internal/formatters_test.passingStepDef","arguments":[]} {"event":"TestStepStarted","location":"formatter-tests/features/scenario_outline.feature:7","timestamp":-6795364578871} {"event":"TestStepFinished","location":"formatter-tests/features/scenario_outline.feature:7","timestamp":-6795364578871,"status":"passed"} -{"event":"StepDefinitionFound","location":"formatter-tests/features/scenario_outline.feature:8","definition_id":"fmt_output_test.go:103 -\u003e github.com/cucumber/godog/internal/formatters_test.oddEvenStepDef","arguments":[[4,5],[5,15]]} +{"event":"StepDefinitionFound","location":"formatter-tests/features/scenario_outline.feature:8","definition_id":"fmt_output_test.go:103 -\u003e git.golang1.ru/softonik/godog/internal/formatters_test.oddEvenStepDef","arguments":[[4,5],[5,15]]} {"event":"TestStepStarted","location":"formatter-tests/features/scenario_outline.feature:8","timestamp":-6795364578871} {"event":"TestStepFinished","location":"formatter-tests/features/scenario_outline.feature:8","timestamp":-6795364578871,"status":"passed"} {"event":"TestCaseFinished","location":"formatter-tests/features/scenario_outline.feature:13","timestamp":-6795364578871,"status":"passed"} {"event":"TestCaseStarted","location":"formatter-tests/features/scenario_outline.feature:14","timestamp":-6795364578871} -{"event":"StepDefinitionFound","location":"formatter-tests/features/scenario_outline.feature:6","definition_id":"fmt_output_test.go:101 -\u003e github.com/cucumber/godog/internal/formatters_test.passingStepDef","arguments":[]} +{"event":"StepDefinitionFound","location":"formatter-tests/features/scenario_outline.feature:6","definition_id":"fmt_output_test.go:101 -\u003e git.golang1.ru/softonik/godog/internal/formatters_test.passingStepDef","arguments":[]} {"event":"TestStepStarted","location":"formatter-tests/features/scenario_outline.feature:6","timestamp":-6795364578871} {"event":"TestStepFinished","location":"formatter-tests/features/scenario_outline.feature:6","timestamp":-6795364578871,"status":"passed"} -{"event":"StepDefinitionFound","location":"formatter-tests/features/scenario_outline.feature:7","definition_id":"fmt_output_test.go:101 -\u003e github.com/cucumber/godog/internal/formatters_test.passingStepDef","arguments":[]} +{"event":"StepDefinitionFound","location":"formatter-tests/features/scenario_outline.feature:7","definition_id":"fmt_output_test.go:101 -\u003e git.golang1.ru/softonik/godog/internal/formatters_test.passingStepDef","arguments":[]} {"event":"TestStepStarted","location":"formatter-tests/features/scenario_outline.feature:7","timestamp":-6795364578871} {"event":"TestStepFinished","location":"formatter-tests/features/scenario_outline.feature:7","timestamp":-6795364578871,"status":"passed"} -{"event":"StepDefinitionFound","location":"formatter-tests/features/scenario_outline.feature:8","definition_id":"fmt_output_test.go:103 -\u003e github.com/cucumber/godog/internal/formatters_test.oddEvenStepDef","arguments":[[4,5],[5,15]]} +{"event":"StepDefinitionFound","location":"formatter-tests/features/scenario_outline.feature:8","definition_id":"fmt_output_test.go:103 -\u003e git.golang1.ru/softonik/godog/internal/formatters_test.oddEvenStepDef","arguments":[[4,5],[5,15]]} {"event":"TestStepStarted","location":"formatter-tests/features/scenario_outline.feature:8","timestamp":-6795364578871} {"event":"TestStepFinished","location":"formatter-tests/features/scenario_outline.feature:8","timestamp":-6795364578871,"status":"failed","summary":"2 is not odd"} {"event":"TestCaseFinished","location":"formatter-tests/features/scenario_outline.feature:14","timestamp":-6795364578871,"status":"failed"} {"event":"TestCaseStarted","location":"formatter-tests/features/scenario_outline.feature:15","timestamp":-6795364578871} -{"event":"StepDefinitionFound","location":"formatter-tests/features/scenario_outline.feature:6","definition_id":"fmt_output_test.go:101 -\u003e github.com/cucumber/godog/internal/formatters_test.passingStepDef","arguments":[]} +{"event":"StepDefinitionFound","location":"formatter-tests/features/scenario_outline.feature:6","definition_id":"fmt_output_test.go:101 -\u003e git.golang1.ru/softonik/godog/internal/formatters_test.passingStepDef","arguments":[]} {"event":"TestStepStarted","location":"formatter-tests/features/scenario_outline.feature:6","timestamp":-6795364578871} {"event":"TestStepFinished","location":"formatter-tests/features/scenario_outline.feature:6","timestamp":-6795364578871,"status":"passed"} -{"event":"StepDefinitionFound","location":"formatter-tests/features/scenario_outline.feature:7","definition_id":"fmt_output_test.go:101 -\u003e github.com/cucumber/godog/internal/formatters_test.passingStepDef","arguments":[]} +{"event":"StepDefinitionFound","location":"formatter-tests/features/scenario_outline.feature:7","definition_id":"fmt_output_test.go:101 -\u003e git.golang1.ru/softonik/godog/internal/formatters_test.passingStepDef","arguments":[]} {"event":"TestStepStarted","location":"formatter-tests/features/scenario_outline.feature:7","timestamp":-6795364578871} {"event":"TestStepFinished","location":"formatter-tests/features/scenario_outline.feature:7","timestamp":-6795364578871,"status":"passed"} -{"event":"StepDefinitionFound","location":"formatter-tests/features/scenario_outline.feature:8","definition_id":"fmt_output_test.go:103 -\u003e github.com/cucumber/godog/internal/formatters_test.oddEvenStepDef","arguments":[[4,5],[5,15]]} +{"event":"StepDefinitionFound","location":"formatter-tests/features/scenario_outline.feature:8","definition_id":"fmt_output_test.go:103 -\u003e git.golang1.ru/softonik/godog/internal/formatters_test.oddEvenStepDef","arguments":[[4,5],[5,15]]} {"event":"TestStepStarted","location":"formatter-tests/features/scenario_outline.feature:8","timestamp":-6795364578871} {"event":"TestStepFinished","location":"formatter-tests/features/scenario_outline.feature:8","timestamp":-6795364578871,"status":"failed","summary":"11 is not even"} {"event":"TestCaseFinished","location":"formatter-tests/features/scenario_outline.feature:15","timestamp":-6795364578871,"status":"failed"} {"event":"TestCaseStarted","location":"formatter-tests/features/scenario_outline.feature:20","timestamp":-6795364578871} -{"event":"StepDefinitionFound","location":"formatter-tests/features/scenario_outline.feature:6","definition_id":"fmt_output_test.go:101 -\u003e github.com/cucumber/godog/internal/formatters_test.passingStepDef","arguments":[]} +{"event":"StepDefinitionFound","location":"formatter-tests/features/scenario_outline.feature:6","definition_id":"fmt_output_test.go:101 -\u003e git.golang1.ru/softonik/godog/internal/formatters_test.passingStepDef","arguments":[]} {"event":"TestStepStarted","location":"formatter-tests/features/scenario_outline.feature:6","timestamp":-6795364578871} {"event":"TestStepFinished","location":"formatter-tests/features/scenario_outline.feature:6","timestamp":-6795364578871,"status":"passed"} -{"event":"StepDefinitionFound","location":"formatter-tests/features/scenario_outline.feature:7","definition_id":"fmt_output_test.go:101 -\u003e github.com/cucumber/godog/internal/formatters_test.passingStepDef","arguments":[]} +{"event":"StepDefinitionFound","location":"formatter-tests/features/scenario_outline.feature:7","definition_id":"fmt_output_test.go:101 -\u003e git.golang1.ru/softonik/godog/internal/formatters_test.passingStepDef","arguments":[]} {"event":"TestStepStarted","location":"formatter-tests/features/scenario_outline.feature:7","timestamp":-6795364578871} {"event":"TestStepFinished","location":"formatter-tests/features/scenario_outline.feature:7","timestamp":-6795364578871,"status":"passed"} -{"event":"StepDefinitionFound","location":"formatter-tests/features/scenario_outline.feature:8","definition_id":"fmt_output_test.go:103 -\u003e github.com/cucumber/godog/internal/formatters_test.oddEvenStepDef","arguments":[[4,5],[5,15]]} +{"event":"StepDefinitionFound","location":"formatter-tests/features/scenario_outline.feature:8","definition_id":"fmt_output_test.go:103 -\u003e git.golang1.ru/softonik/godog/internal/formatters_test.oddEvenStepDef","arguments":[[4,5],[5,15]]} {"event":"TestStepStarted","location":"formatter-tests/features/scenario_outline.feature:8","timestamp":-6795364578871} {"event":"TestStepFinished","location":"formatter-tests/features/scenario_outline.feature:8","timestamp":-6795364578871,"status":"passed"} {"event":"TestCaseFinished","location":"formatter-tests/features/scenario_outline.feature:20","timestamp":-6795364578871,"status":"passed"} {"event":"TestCaseStarted","location":"formatter-tests/features/scenario_outline.feature:21","timestamp":-6795364578871} -{"event":"StepDefinitionFound","location":"formatter-tests/features/scenario_outline.feature:6","definition_id":"fmt_output_test.go:101 -\u003e github.com/cucumber/godog/internal/formatters_test.passingStepDef","arguments":[]} +{"event":"StepDefinitionFound","location":"formatter-tests/features/scenario_outline.feature:6","definition_id":"fmt_output_test.go:101 -\u003e git.golang1.ru/softonik/godog/internal/formatters_test.passingStepDef","arguments":[]} {"event":"TestStepStarted","location":"formatter-tests/features/scenario_outline.feature:6","timestamp":-6795364578871} {"event":"TestStepFinished","location":"formatter-tests/features/scenario_outline.feature:6","timestamp":-6795364578871,"status":"passed"} -{"event":"StepDefinitionFound","location":"formatter-tests/features/scenario_outline.feature:7","definition_id":"fmt_output_test.go:101 -\u003e github.com/cucumber/godog/internal/formatters_test.passingStepDef","arguments":[]} +{"event":"StepDefinitionFound","location":"formatter-tests/features/scenario_outline.feature:7","definition_id":"fmt_output_test.go:101 -\u003e git.golang1.ru/softonik/godog/internal/formatters_test.passingStepDef","arguments":[]} {"event":"TestStepStarted","location":"formatter-tests/features/scenario_outline.feature:7","timestamp":-6795364578871} {"event":"TestStepFinished","location":"formatter-tests/features/scenario_outline.feature:7","timestamp":-6795364578871,"status":"passed"} -{"event":"StepDefinitionFound","location":"formatter-tests/features/scenario_outline.feature:8","definition_id":"fmt_output_test.go:103 -\u003e github.com/cucumber/godog/internal/formatters_test.oddEvenStepDef","arguments":[[4,5],[5,15]]} +{"event":"StepDefinitionFound","location":"formatter-tests/features/scenario_outline.feature:8","definition_id":"fmt_output_test.go:103 -\u003e git.golang1.ru/softonik/godog/internal/formatters_test.oddEvenStepDef","arguments":[[4,5],[5,15]]} {"event":"TestStepStarted","location":"formatter-tests/features/scenario_outline.feature:8","timestamp":-6795364578871} {"event":"TestStepFinished","location":"formatter-tests/features/scenario_outline.feature:8","timestamp":-6795364578871,"status":"failed","summary":"9 is not even"} {"event":"TestCaseFinished","location":"formatter-tests/features/scenario_outline.feature:21","timestamp":-6795364578871,"status":"failed"} diff --git a/internal/formatters/formatter-tests/events/scenario_with_attachment b/internal/formatters/formatter-tests/events/scenario_with_attachment index 8530e60..f070dff 100644 --- a/internal/formatters/formatter-tests/events/scenario_with_attachment +++ b/internal/formatters/formatter-tests/events/scenario_with_attachment @@ -1,7 +1,7 @@ {"event":"TestRunStarted","version":"0.1.0","timestamp":-6795364578871,"suite":"events"} {"event":"TestSource","location":"formatter-tests/features/scenario_with_attachment.feature:1","source":"Feature: feature with attachment\n describes\n an attachment\n feature\n\n Scenario: scenario with attachment\n Given a step with a single attachment call for multiple attachments\n And a step with multiple attachment calls\n"} {"event":"TestCaseStarted","location":"formatter-tests/features/scenario_with_attachment.feature:6","timestamp":-6795364578871} -{"event":"StepDefinitionFound","location":"formatter-tests/features/scenario_with_attachment.feature:7","definition_id":"fmt_output_test.go:XXX -\u003e github.com/cucumber/godog/internal/formatters_test.stepWithSingleAttachmentCall","arguments":[]} +{"event":"StepDefinitionFound","location":"formatter-tests/features/scenario_with_attachment.feature:7","definition_id":"fmt_output_test.go:XXX -\u003e git.golang1.ru/softonik/godog/internal/formatters_test.stepWithSingleAttachmentCall","arguments":[]} {"event":"TestStepStarted","location":"formatter-tests/features/scenario_with_attachment.feature:7","timestamp":-6795364578871} {"event":"Attachment","location":"formatter-tests/features/scenario_with_attachment.feature:7","timestamp":-6795364578871,"contentEncoding":"BASE64","fileName":"Before Scenario Attachment 1","mimeType":"text/plain","body":"BeforeScenarioAttachment"} {"event":"Attachment","location":"formatter-tests/features/scenario_with_attachment.feature:7","timestamp":-6795364578871,"contentEncoding":"BASE64","fileName":"Before Step Attachment 3","mimeType":"text/plain","body":"BeforeStepAttachment"} @@ -9,7 +9,7 @@ {"event":"Attachment","location":"formatter-tests/features/scenario_with_attachment.feature:7","timestamp":-6795364578871,"contentEncoding":"BASE64","fileName":"TheFilename2","mimeType":"text/plain","body":"TheData2"} {"event":"Attachment","location":"formatter-tests/features/scenario_with_attachment.feature:7","timestamp":-6795364578871,"contentEncoding":"BASE64","fileName":"After Step Attachment 4","mimeType":"text/plain","body":"AfterStepAttachment"} {"event":"TestStepFinished","location":"formatter-tests/features/scenario_with_attachment.feature:7","timestamp":-6795364578871,"status":"passed"} -{"event":"StepDefinitionFound","location":"formatter-tests/features/scenario_with_attachment.feature:8","definition_id":"fmt_output_test.go:XXX -\u003e github.com/cucumber/godog/internal/formatters_test.stepWithMultipleAttachmentCalls","arguments":[]} +{"event":"StepDefinitionFound","location":"formatter-tests/features/scenario_with_attachment.feature:8","definition_id":"fmt_output_test.go:XXX -\u003e git.golang1.ru/softonik/godog/internal/formatters_test.stepWithMultipleAttachmentCalls","arguments":[]} {"event":"TestStepStarted","location":"formatter-tests/features/scenario_with_attachment.feature:8","timestamp":-6795364578871} {"event":"Attachment","location":"formatter-tests/features/scenario_with_attachment.feature:8","timestamp":-6795364578871,"contentEncoding":"BASE64","fileName":"Before Step Attachment 3","mimeType":"text/plain","body":"BeforeStepAttachment"} {"event":"Attachment","location":"formatter-tests/features/scenario_with_attachment.feature:8","timestamp":-6795364578871,"contentEncoding":"BASE64","fileName":"TheFilename3","mimeType":"text/plain","body":"TheData1"} diff --git a/internal/formatters/formatter-tests/events/scenario_with_background b/internal/formatters/formatter-tests/events/scenario_with_background index 0b15684..7b81864 100644 --- a/internal/formatters/formatter-tests/events/scenario_with_background +++ b/internal/formatters/formatter-tests/events/scenario_with_background @@ -1,16 +1,16 @@ {"event":"TestRunStarted","version":"0.1.0","timestamp":-6795364578871,"suite":"events"} {"event":"TestSource","location":"formatter-tests/features/scenario_with_background.feature:1","source":"Feature: single scenario with background\n\n Background: named\n Given passing step\n And passing step\n\n Scenario: scenario\n When passing step\n Then passing step\n"} {"event":"TestCaseStarted","location":"formatter-tests/features/scenario_with_background.feature:7","timestamp":-6795364578871} -{"event":"StepDefinitionFound","location":"formatter-tests/features/scenario_with_background.feature:4","definition_id":"fmt_output_test.go:101 -\u003e github.com/cucumber/godog/internal/formatters_test.passingStepDef","arguments":[]} +{"event":"StepDefinitionFound","location":"formatter-tests/features/scenario_with_background.feature:4","definition_id":"fmt_output_test.go:101 -\u003e git.golang1.ru/softonik/godog/internal/formatters_test.passingStepDef","arguments":[]} {"event":"TestStepStarted","location":"formatter-tests/features/scenario_with_background.feature:4","timestamp":-6795364578871} {"event":"TestStepFinished","location":"formatter-tests/features/scenario_with_background.feature:4","timestamp":-6795364578871,"status":"passed"} -{"event":"StepDefinitionFound","location":"formatter-tests/features/scenario_with_background.feature:5","definition_id":"fmt_output_test.go:101 -\u003e github.com/cucumber/godog/internal/formatters_test.passingStepDef","arguments":[]} +{"event":"StepDefinitionFound","location":"formatter-tests/features/scenario_with_background.feature:5","definition_id":"fmt_output_test.go:101 -\u003e git.golang1.ru/softonik/godog/internal/formatters_test.passingStepDef","arguments":[]} {"event":"TestStepStarted","location":"formatter-tests/features/scenario_with_background.feature:5","timestamp":-6795364578871} {"event":"TestStepFinished","location":"formatter-tests/features/scenario_with_background.feature:5","timestamp":-6795364578871,"status":"passed"} -{"event":"StepDefinitionFound","location":"formatter-tests/features/scenario_with_background.feature:8","definition_id":"fmt_output_test.go:101 -\u003e github.com/cucumber/godog/internal/formatters_test.passingStepDef","arguments":[]} +{"event":"StepDefinitionFound","location":"formatter-tests/features/scenario_with_background.feature:8","definition_id":"fmt_output_test.go:101 -\u003e git.golang1.ru/softonik/godog/internal/formatters_test.passingStepDef","arguments":[]} {"event":"TestStepStarted","location":"formatter-tests/features/scenario_with_background.feature:8","timestamp":-6795364578871} {"event":"TestStepFinished","location":"formatter-tests/features/scenario_with_background.feature:8","timestamp":-6795364578871,"status":"passed"} -{"event":"StepDefinitionFound","location":"formatter-tests/features/scenario_with_background.feature:9","definition_id":"fmt_output_test.go:101 -\u003e github.com/cucumber/godog/internal/formatters_test.passingStepDef","arguments":[]} +{"event":"StepDefinitionFound","location":"formatter-tests/features/scenario_with_background.feature:9","definition_id":"fmt_output_test.go:101 -\u003e git.golang1.ru/softonik/godog/internal/formatters_test.passingStepDef","arguments":[]} {"event":"TestStepStarted","location":"formatter-tests/features/scenario_with_background.feature:9","timestamp":-6795364578871} {"event":"TestStepFinished","location":"formatter-tests/features/scenario_with_background.feature:9","timestamp":-6795364578871,"status":"passed"} {"event":"TestCaseFinished","location":"formatter-tests/features/scenario_with_background.feature:7","timestamp":-6795364578871,"status":"passed"} diff --git a/internal/formatters/formatter-tests/events/single_scenario_with_passing_step b/internal/formatters/formatter-tests/events/single_scenario_with_passing_step index bac2f33..b60c024 100644 --- a/internal/formatters/formatter-tests/events/single_scenario_with_passing_step +++ b/internal/formatters/formatter-tests/events/single_scenario_with_passing_step @@ -1,7 +1,7 @@ {"event":"TestRunStarted","version":"0.1.0","timestamp":-6795364578871,"suite":"events"} {"event":"TestSource","location":"formatter-tests/features/single_scenario_with_passing_step.feature:1","source":"Feature: single passing scenario\n describes\n a single scenario\n feature\n\n Scenario: one step passing\n Given a passing step\n"} {"event":"TestCaseStarted","location":"formatter-tests/features/single_scenario_with_passing_step.feature:6","timestamp":-6795364578871} -{"event":"StepDefinitionFound","location":"formatter-tests/features/single_scenario_with_passing_step.feature:7","definition_id":"fmt_output_test.go:101 -\u003e github.com/cucumber/godog/internal/formatters_test.passingStepDef","arguments":[]} +{"event":"StepDefinitionFound","location":"formatter-tests/features/single_scenario_with_passing_step.feature:7","definition_id":"fmt_output_test.go:101 -\u003e git.golang1.ru/softonik/godog/internal/formatters_test.passingStepDef","arguments":[]} {"event":"TestStepStarted","location":"formatter-tests/features/single_scenario_with_passing_step.feature:7","timestamp":-6795364578871} {"event":"TestStepFinished","location":"formatter-tests/features/single_scenario_with_passing_step.feature:7","timestamp":-6795364578871,"status":"passed"} {"event":"TestCaseFinished","location":"formatter-tests/features/single_scenario_with_passing_step.feature:6","timestamp":-6795364578871,"status":"passed"} diff --git a/internal/formatters/formatter-tests/events/some_scenarios_including_failing b/internal/formatters/formatter-tests/events/some_scenarios_including_failing index e56b4c5..29b331f 100644 --- a/internal/formatters/formatter-tests/events/some_scenarios_including_failing +++ b/internal/formatters/formatter-tests/events/some_scenarios_including_failing @@ -1,35 +1,35 @@ {"event":"TestRunStarted","version":"0.1.0","timestamp":-6795364578871,"suite":"events"} {"event":"TestSource","location":"formatter-tests/features/some_scenarios_including_failing.feature:1","source":"Feature: some scenarios\n\n Scenario: failing\n Given passing step\n When failing step\n Then passing step\n\n Scenario: pending\n When pending step\n Then passing step\n\n Scenario: undefined\n When undefined\n Then passing step\n\n Scenario: ambiguous\n When ambiguous step\n Then passing step\n"} {"event":"TestCaseStarted","location":"formatter-tests/features/some_scenarios_including_failing.feature:3","timestamp":-6795364578871} -{"event":"StepDefinitionFound","location":"formatter-tests/features/some_scenarios_including_failing.feature:4","definition_id":"fmt_output_test.go:101 -\u003e github.com/cucumber/godog/internal/formatters_test.passingStepDef","arguments":[]} +{"event":"StepDefinitionFound","location":"formatter-tests/features/some_scenarios_including_failing.feature:4","definition_id":"fmt_output_test.go:101 -\u003e git.golang1.ru/softonik/godog/internal/formatters_test.passingStepDef","arguments":[]} {"event":"TestStepStarted","location":"formatter-tests/features/some_scenarios_including_failing.feature:4","timestamp":-6795364578871} {"event":"TestStepFinished","location":"formatter-tests/features/some_scenarios_including_failing.feature:4","timestamp":-6795364578871,"status":"passed"} -{"event":"StepDefinitionFound","location":"formatter-tests/features/some_scenarios_including_failing.feature:5","definition_id":"fmt_output_test.go:117 -\u003e github.com/cucumber/godog/internal/formatters_test.failingStepDef","arguments":[]} +{"event":"StepDefinitionFound","location":"formatter-tests/features/some_scenarios_including_failing.feature:5","definition_id":"fmt_output_test.go:117 -\u003e git.golang1.ru/softonik/godog/internal/formatters_test.failingStepDef","arguments":[]} {"event":"TestStepStarted","location":"formatter-tests/features/some_scenarios_including_failing.feature:5","timestamp":-6795364578871} {"event":"TestStepFinished","location":"formatter-tests/features/some_scenarios_including_failing.feature:5","timestamp":-6795364578871,"status":"failed","summary":"step failed"} -{"event":"StepDefinitionFound","location":"formatter-tests/features/some_scenarios_including_failing.feature:6","definition_id":"fmt_output_test.go:101 -\u003e github.com/cucumber/godog/internal/formatters_test.passingStepDef","arguments":[]} +{"event":"StepDefinitionFound","location":"formatter-tests/features/some_scenarios_including_failing.feature:6","definition_id":"fmt_output_test.go:101 -\u003e git.golang1.ru/softonik/godog/internal/formatters_test.passingStepDef","arguments":[]} {"event":"TestStepStarted","location":"formatter-tests/features/some_scenarios_including_failing.feature:6","timestamp":-6795364578871} {"event":"TestStepFinished","location":"formatter-tests/features/some_scenarios_including_failing.feature:6","timestamp":-6795364578871,"status":"skipped"} {"event":"TestCaseFinished","location":"formatter-tests/features/some_scenarios_including_failing.feature:3","timestamp":-6795364578871,"status":"failed"} {"event":"TestCaseStarted","location":"formatter-tests/features/some_scenarios_including_failing.feature:8","timestamp":-6795364578871} -{"event":"StepDefinitionFound","location":"formatter-tests/features/some_scenarios_including_failing.feature:9","definition_id":"fmt_output_test.go:115 -\u003e github.com/cucumber/godog/internal/formatters_test.pendingStepDef","arguments":[]} +{"event":"StepDefinitionFound","location":"formatter-tests/features/some_scenarios_including_failing.feature:9","definition_id":"fmt_output_test.go:115 -\u003e git.golang1.ru/softonik/godog/internal/formatters_test.pendingStepDef","arguments":[]} {"event":"TestStepStarted","location":"formatter-tests/features/some_scenarios_including_failing.feature:9","timestamp":-6795364578871} {"event":"TestStepFinished","location":"formatter-tests/features/some_scenarios_including_failing.feature:9","timestamp":-6795364578871,"status":"pending"} -{"event":"StepDefinitionFound","location":"formatter-tests/features/some_scenarios_including_failing.feature:10","definition_id":"fmt_output_test.go:101 -\u003e github.com/cucumber/godog/internal/formatters_test.passingStepDef","arguments":[]} +{"event":"StepDefinitionFound","location":"formatter-tests/features/some_scenarios_including_failing.feature:10","definition_id":"fmt_output_test.go:101 -\u003e git.golang1.ru/softonik/godog/internal/formatters_test.passingStepDef","arguments":[]} {"event":"TestStepStarted","location":"formatter-tests/features/some_scenarios_including_failing.feature:10","timestamp":-6795364578871} {"event":"TestStepFinished","location":"formatter-tests/features/some_scenarios_including_failing.feature:10","timestamp":-6795364578871,"status":"skipped"} {"event":"TestCaseFinished","location":"formatter-tests/features/some_scenarios_including_failing.feature:8","timestamp":-6795364578871,"status":"pending"} {"event":"TestCaseStarted","location":"formatter-tests/features/some_scenarios_including_failing.feature:12","timestamp":-6795364578871} {"event":"TestStepStarted","location":"formatter-tests/features/some_scenarios_including_failing.feature:13","timestamp":-6795364578871} {"event":"TestStepFinished","location":"formatter-tests/features/some_scenarios_including_failing.feature:13","timestamp":-6795364578871,"status":"undefined"} -{"event":"StepDefinitionFound","location":"formatter-tests/features/some_scenarios_including_failing.feature:14","definition_id":"fmt_output_test.go:101 -\u003e github.com/cucumber/godog/internal/formatters_test.passingStepDef","arguments":[]} +{"event":"StepDefinitionFound","location":"formatter-tests/features/some_scenarios_including_failing.feature:14","definition_id":"fmt_output_test.go:101 -\u003e git.golang1.ru/softonik/godog/internal/formatters_test.passingStepDef","arguments":[]} {"event":"TestStepStarted","location":"formatter-tests/features/some_scenarios_including_failing.feature:14","timestamp":-6795364578871} {"event":"TestStepFinished","location":"formatter-tests/features/some_scenarios_including_failing.feature:14","timestamp":-6795364578871,"status":"skipped"} {"event":"TestCaseFinished","location":"formatter-tests/features/some_scenarios_including_failing.feature:12","timestamp":-6795364578871,"status":"undefined"} {"event":"TestCaseStarted","location":"formatter-tests/features/some_scenarios_including_failing.feature:16","timestamp":-6795364578871} {"event":"TestStepStarted","location":"formatter-tests/features/some_scenarios_including_failing.feature:17","timestamp":-6795364578871} {"event":"TestStepFinished","location":"formatter-tests/features/some_scenarios_including_failing.feature:17","timestamp":-6795364578871,"status":"ambiguous","summary":"ambiguous step definition, step text: ambiguous step\n matches:\n ^ambiguous step.*$\n ^ambiguous step$"} -{"event":"StepDefinitionFound","location":"formatter-tests/features/some_scenarios_including_failing.feature:18","definition_id":"fmt_output_test.go:101 -\u003e github.com/cucumber/godog/internal/formatters_test.passingStepDef","arguments":[]} +{"event":"StepDefinitionFound","location":"formatter-tests/features/some_scenarios_including_failing.feature:18","definition_id":"fmt_output_test.go:101 -\u003e git.golang1.ru/softonik/godog/internal/formatters_test.passingStepDef","arguments":[]} {"event":"TestStepStarted","location":"formatter-tests/features/some_scenarios_including_failing.feature:18","timestamp":-6795364578871} {"event":"TestStepFinished","location":"formatter-tests/features/some_scenarios_including_failing.feature:18","timestamp":-6795364578871,"status":"skipped"} {"event":"TestCaseFinished","location":"formatter-tests/features/some_scenarios_including_failing.feature:16","timestamp":-6795364578871,"status":"ambiguous"} diff --git a/internal/formatters/formatter-tests/events/two_scenarios_with_background_fail b/internal/formatters/formatter-tests/events/two_scenarios_with_background_fail index 633f996..154e279 100644 --- a/internal/formatters/formatter-tests/events/two_scenarios_with_background_fail +++ b/internal/formatters/formatter-tests/events/two_scenarios_with_background_fail @@ -1,27 +1,27 @@ {"event":"TestRunStarted","version":"0.1.0","timestamp":-6795364578871,"suite":"events"} {"event":"TestSource","location":"formatter-tests/features/two_scenarios_with_background_fail.feature:1","source":"Feature: two scenarios with background fail\n\n Background:\n Given passing step\n And failing step\n\n Scenario: one\n When passing step\n Then passing step\n\n Scenario: two\n Then passing step\n"} {"event":"TestCaseStarted","location":"formatter-tests/features/two_scenarios_with_background_fail.feature:7","timestamp":-6795364578871} -{"event":"StepDefinitionFound","location":"formatter-tests/features/two_scenarios_with_background_fail.feature:4","definition_id":"fmt_output_test.go:101 -\u003e github.com/cucumber/godog/internal/formatters_test.passingStepDef","arguments":[]} +{"event":"StepDefinitionFound","location":"formatter-tests/features/two_scenarios_with_background_fail.feature:4","definition_id":"fmt_output_test.go:101 -\u003e git.golang1.ru/softonik/godog/internal/formatters_test.passingStepDef","arguments":[]} {"event":"TestStepStarted","location":"formatter-tests/features/two_scenarios_with_background_fail.feature:4","timestamp":-6795364578871} {"event":"TestStepFinished","location":"formatter-tests/features/two_scenarios_with_background_fail.feature:4","timestamp":-6795364578871,"status":"passed"} -{"event":"StepDefinitionFound","location":"formatter-tests/features/two_scenarios_with_background_fail.feature:5","definition_id":"fmt_output_test.go:117 -\u003e github.com/cucumber/godog/internal/formatters_test.failingStepDef","arguments":[]} +{"event":"StepDefinitionFound","location":"formatter-tests/features/two_scenarios_with_background_fail.feature:5","definition_id":"fmt_output_test.go:117 -\u003e git.golang1.ru/softonik/godog/internal/formatters_test.failingStepDef","arguments":[]} {"event":"TestStepStarted","location":"formatter-tests/features/two_scenarios_with_background_fail.feature:5","timestamp":-6795364578871} {"event":"TestStepFinished","location":"formatter-tests/features/two_scenarios_with_background_fail.feature:5","timestamp":-6795364578871,"status":"failed","summary":"step failed"} -{"event":"StepDefinitionFound","location":"formatter-tests/features/two_scenarios_with_background_fail.feature:8","definition_id":"fmt_output_test.go:101 -\u003e github.com/cucumber/godog/internal/formatters_test.passingStepDef","arguments":[]} +{"event":"StepDefinitionFound","location":"formatter-tests/features/two_scenarios_with_background_fail.feature:8","definition_id":"fmt_output_test.go:101 -\u003e git.golang1.ru/softonik/godog/internal/formatters_test.passingStepDef","arguments":[]} {"event":"TestStepStarted","location":"formatter-tests/features/two_scenarios_with_background_fail.feature:8","timestamp":-6795364578871} {"event":"TestStepFinished","location":"formatter-tests/features/two_scenarios_with_background_fail.feature:8","timestamp":-6795364578871,"status":"skipped"} -{"event":"StepDefinitionFound","location":"formatter-tests/features/two_scenarios_with_background_fail.feature:9","definition_id":"fmt_output_test.go:101 -\u003e github.com/cucumber/godog/internal/formatters_test.passingStepDef","arguments":[]} +{"event":"StepDefinitionFound","location":"formatter-tests/features/two_scenarios_with_background_fail.feature:9","definition_id":"fmt_output_test.go:101 -\u003e git.golang1.ru/softonik/godog/internal/formatters_test.passingStepDef","arguments":[]} {"event":"TestStepStarted","location":"formatter-tests/features/two_scenarios_with_background_fail.feature:9","timestamp":-6795364578871} {"event":"TestStepFinished","location":"formatter-tests/features/two_scenarios_with_background_fail.feature:9","timestamp":-6795364578871,"status":"skipped"} {"event":"TestCaseFinished","location":"formatter-tests/features/two_scenarios_with_background_fail.feature:7","timestamp":-6795364578871,"status":"failed"} {"event":"TestCaseStarted","location":"formatter-tests/features/two_scenarios_with_background_fail.feature:11","timestamp":-6795364578871} -{"event":"StepDefinitionFound","location":"formatter-tests/features/two_scenarios_with_background_fail.feature:4","definition_id":"fmt_output_test.go:101 -\u003e github.com/cucumber/godog/internal/formatters_test.passingStepDef","arguments":[]} +{"event":"StepDefinitionFound","location":"formatter-tests/features/two_scenarios_with_background_fail.feature:4","definition_id":"fmt_output_test.go:101 -\u003e git.golang1.ru/softonik/godog/internal/formatters_test.passingStepDef","arguments":[]} {"event":"TestStepStarted","location":"formatter-tests/features/two_scenarios_with_background_fail.feature:4","timestamp":-6795364578871} {"event":"TestStepFinished","location":"formatter-tests/features/two_scenarios_with_background_fail.feature:4","timestamp":-6795364578871,"status":"passed"} -{"event":"StepDefinitionFound","location":"formatter-tests/features/two_scenarios_with_background_fail.feature:5","definition_id":"fmt_output_test.go:117 -\u003e github.com/cucumber/godog/internal/formatters_test.failingStepDef","arguments":[]} +{"event":"StepDefinitionFound","location":"formatter-tests/features/two_scenarios_with_background_fail.feature:5","definition_id":"fmt_output_test.go:117 -\u003e git.golang1.ru/softonik/godog/internal/formatters_test.failingStepDef","arguments":[]} {"event":"TestStepStarted","location":"formatter-tests/features/two_scenarios_with_background_fail.feature:5","timestamp":-6795364578871} {"event":"TestStepFinished","location":"formatter-tests/features/two_scenarios_with_background_fail.feature:5","timestamp":-6795364578871,"status":"failed","summary":"step failed"} -{"event":"StepDefinitionFound","location":"formatter-tests/features/two_scenarios_with_background_fail.feature:12","definition_id":"fmt_output_test.go:101 -\u003e github.com/cucumber/godog/internal/formatters_test.passingStepDef","arguments":[]} +{"event":"StepDefinitionFound","location":"formatter-tests/features/two_scenarios_with_background_fail.feature:12","definition_id":"fmt_output_test.go:101 -\u003e git.golang1.ru/softonik/godog/internal/formatters_test.passingStepDef","arguments":[]} {"event":"TestStepStarted","location":"formatter-tests/features/two_scenarios_with_background_fail.feature:12","timestamp":-6795364578871} {"event":"TestStepFinished","location":"formatter-tests/features/two_scenarios_with_background_fail.feature:12","timestamp":-6795364578871,"status":"skipped"} {"event":"TestCaseFinished","location":"formatter-tests/features/two_scenarios_with_background_fail.feature:11","timestamp":-6795364578871,"status":"failed"} diff --git a/internal/formatters/formatter-tests/junit,pretty/scenario_outline b/internal/formatters/formatter-tests/junit,pretty/scenario_outline index 1f1f92d..aec8708 100644 --- a/internal/formatters/formatter-tests/junit,pretty/scenario_outline +++ b/internal/formatters/formatter-tests/junit,pretty/scenario_outline @@ -1,9 +1,9 @@ Feature: outline Scenario Outline: outline # formatter-tests/features/scenario_outline.feature:5 - Given passing step # fmt_output_test.go:101 -> github.com/cucumber/godog/internal/formatters_test.passingStepDef - When passing step # fmt_output_test.go:101 -> github.com/cucumber/godog/internal/formatters_test.passingStepDef - Then odd and even number # fmt_output_test.go:103 -> github.com/cucumber/godog/internal/formatters_test.oddEvenStepDef + Given passing step # fmt_output_test.go:101 -> git.golang1.ru/softonik/godog/internal/formatters_test.passingStepDef + When passing step # fmt_output_test.go:101 -> git.golang1.ru/softonik/godog/internal/formatters_test.passingStepDef + Then odd and even number # fmt_output_test.go:103 -> git.golang1.ru/softonik/godog/internal/formatters_test.oddEvenStepDef Examples: tagged | odd | even | diff --git a/internal/formatters/formatter-tests/junit,pretty/scenario_with_background b/internal/formatters/formatter-tests/junit,pretty/scenario_with_background index 44cb82f..aa0185b 100644 --- a/internal/formatters/formatter-tests/junit,pretty/scenario_with_background +++ b/internal/formatters/formatter-tests/junit,pretty/scenario_with_background @@ -1,12 +1,12 @@ Feature: single scenario with background Background: named - Given passing step # fmt_output_test.go:101 -> github.com/cucumber/godog/internal/formatters_test.passingStepDef - And passing step # fmt_output_test.go:101 -> github.com/cucumber/godog/internal/formatters_test.passingStepDef + Given passing step # fmt_output_test.go:101 -> git.golang1.ru/softonik/godog/internal/formatters_test.passingStepDef + And passing step # fmt_output_test.go:101 -> git.golang1.ru/softonik/godog/internal/formatters_test.passingStepDef Scenario: scenario # formatter-tests/features/scenario_with_background.feature:7 - When passing step # fmt_output_test.go:101 -> github.com/cucumber/godog/internal/formatters_test.passingStepDef - Then passing step # fmt_output_test.go:101 -> github.com/cucumber/godog/internal/formatters_test.passingStepDef + When passing step # fmt_output_test.go:101 -> git.golang1.ru/softonik/godog/internal/formatters_test.passingStepDef + Then passing step # fmt_output_test.go:101 -> git.golang1.ru/softonik/godog/internal/formatters_test.passingStepDef diff --git a/internal/formatters/formatter-tests/junit,pretty/single_scenario_with_passing_step b/internal/formatters/formatter-tests/junit,pretty/single_scenario_with_passing_step index dd33ade..fbedbaa 100644 --- a/internal/formatters/formatter-tests/junit,pretty/single_scenario_with_passing_step +++ b/internal/formatters/formatter-tests/junit,pretty/single_scenario_with_passing_step @@ -4,7 +4,7 @@ feature Scenario: one step passing # formatter-tests/features/single_scenario_with_passing_step.feature:6 - Given a passing step # fmt_output_test.go:101 -> github.com/cucumber/godog/internal/formatters_test.passingStepDef + Given a passing step # fmt_output_test.go:101 -> git.golang1.ru/softonik/godog/internal/formatters_test.passingStepDef diff --git a/internal/formatters/formatter-tests/junit,pretty/some_scenarios_including_failing b/internal/formatters/formatter-tests/junit,pretty/some_scenarios_including_failing index e44596f..a468321 100644 --- a/internal/formatters/formatter-tests/junit,pretty/some_scenarios_including_failing +++ b/internal/formatters/formatter-tests/junit,pretty/some_scenarios_including_failing @@ -1,19 +1,19 @@ Feature: some scenarios Scenario: failing # formatter-tests/features/some_scenarios_including_failing.feature:3 - Given passing step # fmt_output_test.go:101 -> github.com/cucumber/godog/internal/formatters_test.passingStepDef - When failing step # fmt_output_test.go:117 -> github.com/cucumber/godog/internal/formatters_test.failingStepDef + Given passing step # fmt_output_test.go:101 -> git.golang1.ru/softonik/godog/internal/formatters_test.passingStepDef + When failing step # fmt_output_test.go:117 -> git.golang1.ru/softonik/godog/internal/formatters_test.failingStepDef step failed - Then passing step # fmt_output_test.go:101 -> github.com/cucumber/godog/internal/formatters_test.passingStepDef + Then passing step # fmt_output_test.go:101 -> git.golang1.ru/softonik/godog/internal/formatters_test.passingStepDef Scenario: pending # formatter-tests/features/some_scenarios_including_failing.feature:8 - When pending step # fmt_output_test.go:115 -> github.com/cucumber/godog/internal/formatters_test.pendingStepDef + When pending step # fmt_output_test.go:115 -> git.golang1.ru/softonik/godog/internal/formatters_test.pendingStepDef TODO: write pending definition - Then passing step # fmt_output_test.go:101 -> github.com/cucumber/godog/internal/formatters_test.passingStepDef + Then passing step # fmt_output_test.go:101 -> git.golang1.ru/softonik/godog/internal/formatters_test.passingStepDef Scenario: undefined # formatter-tests/features/some_scenarios_including_failing.feature:12 When undefined - Then passing step # fmt_output_test.go:101 -> github.com/cucumber/godog/internal/formatters_test.passingStepDef + Then passing step # fmt_output_test.go:101 -> git.golang1.ru/softonik/godog/internal/formatters_test.passingStepDef Scenario: ambiguous # formatter-tests/features/some_scenarios_including_failing.feature:16 When ambiguous step @@ -21,7 +21,7 @@ matches: ^ambiguous step.*$ ^ambiguous step$ - Then passing step # fmt_output_test.go:101 -> github.com/cucumber/godog/internal/formatters_test.passingStepDef + Then passing step # fmt_output_test.go:101 -> git.golang1.ru/softonik/godog/internal/formatters_test.passingStepDef diff --git a/internal/formatters/formatter-tests/junit,pretty/two_scenarios_with_background_fail b/internal/formatters/formatter-tests/junit,pretty/two_scenarios_with_background_fail index 995dec6..d80b708 100644 --- a/internal/formatters/formatter-tests/junit,pretty/two_scenarios_with_background_fail +++ b/internal/formatters/formatter-tests/junit,pretty/two_scenarios_with_background_fail @@ -1,16 +1,16 @@ Feature: two scenarios with background fail Background: - Given passing step # fmt_output_test.go:101 -> github.com/cucumber/godog/internal/formatters_test.passingStepDef - And failing step # fmt_output_test.go:117 -> github.com/cucumber/godog/internal/formatters_test.failingStepDef + Given passing step # fmt_output_test.go:101 -> git.golang1.ru/softonik/godog/internal/formatters_test.passingStepDef + And failing step # fmt_output_test.go:117 -> git.golang1.ru/softonik/godog/internal/formatters_test.failingStepDef step failed Scenario: one # formatter-tests/features/two_scenarios_with_background_fail.feature:7 - When passing step # fmt_output_test.go:101 -> github.com/cucumber/godog/internal/formatters_test.passingStepDef - Then passing step # fmt_output_test.go:101 -> github.com/cucumber/godog/internal/formatters_test.passingStepDef + When passing step # fmt_output_test.go:101 -> git.golang1.ru/softonik/godog/internal/formatters_test.passingStepDef + Then passing step # fmt_output_test.go:101 -> git.golang1.ru/softonik/godog/internal/formatters_test.passingStepDef Scenario: two # formatter-tests/features/two_scenarios_with_background_fail.feature:11 - Then passing step # fmt_output_test.go:101 -> github.com/cucumber/godog/internal/formatters_test.passingStepDef + Then passing step # fmt_output_test.go:101 -> git.golang1.ru/softonik/godog/internal/formatters_test.passingStepDef diff --git a/internal/formatters/formatter-tests/pretty/rules_with_examples_with_backgrounds b/internal/formatters/formatter-tests/pretty/rules_with_examples_with_backgrounds index b3d36c3..678bafd 100644 --- a/internal/formatters/formatter-tests/pretty/rules_with_examples_with_backgrounds +++ b/internal/formatters/formatter-tests/pretty/rules_with_examples_with_backgrounds @@ -1,28 +1,28 @@ Feature: rules with examples with backgrounds Background: for first rule - Given passing step # fmt_output_test.go:101 -> github.com/cucumber/godog/internal/formatters_test.passingStepDef - And passing step # fmt_output_test.go:101 -> github.com/cucumber/godog/internal/formatters_test.passingStepDef + Given passing step # fmt_output_test.go:101 -> git.golang1.ru/softonik/godog/internal/formatters_test.passingStepDef + And passing step # fmt_output_test.go:101 -> git.golang1.ru/softonik/godog/internal/formatters_test.passingStepDef Example: rule 1 example 1 # formatter-tests/features/rules_with_examples_with_backgrounds.feature:9 - When passing step # fmt_output_test.go:101 -> github.com/cucumber/godog/internal/formatters_test.passingStepDef - Then passing step # fmt_output_test.go:101 -> github.com/cucumber/godog/internal/formatters_test.passingStepDef + When passing step # fmt_output_test.go:101 -> git.golang1.ru/softonik/godog/internal/formatters_test.passingStepDef + Then passing step # fmt_output_test.go:101 -> git.golang1.ru/softonik/godog/internal/formatters_test.passingStepDef Example: rule 1 example 2 # formatter-tests/features/rules_with_examples_with_backgrounds.feature:13 - When passing step # fmt_output_test.go:101 -> github.com/cucumber/godog/internal/formatters_test.passingStepDef - Then passing step # fmt_output_test.go:101 -> github.com/cucumber/godog/internal/formatters_test.passingStepDef + When passing step # fmt_output_test.go:101 -> git.golang1.ru/softonik/godog/internal/formatters_test.passingStepDef + Then passing step # fmt_output_test.go:101 -> git.golang1.ru/softonik/godog/internal/formatters_test.passingStepDef Background: for second rule - Given passing step # fmt_output_test.go:101 -> github.com/cucumber/godog/internal/formatters_test.passingStepDef - And passing step # fmt_output_test.go:101 -> github.com/cucumber/godog/internal/formatters_test.passingStepDef + Given passing step # fmt_output_test.go:101 -> git.golang1.ru/softonik/godog/internal/formatters_test.passingStepDef + And passing step # fmt_output_test.go:101 -> git.golang1.ru/softonik/godog/internal/formatters_test.passingStepDef Example: rule 1 example 1 # formatter-tests/features/rules_with_examples_with_backgrounds.feature:24 - When passing step # fmt_output_test.go:101 -> github.com/cucumber/godog/internal/formatters_test.passingStepDef - Then passing step # fmt_output_test.go:101 -> github.com/cucumber/godog/internal/formatters_test.passingStepDef + When passing step # fmt_output_test.go:101 -> git.golang1.ru/softonik/godog/internal/formatters_test.passingStepDef + Then passing step # fmt_output_test.go:101 -> git.golang1.ru/softonik/godog/internal/formatters_test.passingStepDef Example: rule 2 example 2 # formatter-tests/features/rules_with_examples_with_backgrounds.feature:28 - When passing step # fmt_output_test.go:101 -> github.com/cucumber/godog/internal/formatters_test.passingStepDef - Then passing step # fmt_output_test.go:101 -> github.com/cucumber/godog/internal/formatters_test.passingStepDef + When passing step # fmt_output_test.go:101 -> git.golang1.ru/softonik/godog/internal/formatters_test.passingStepDef + Then passing step # fmt_output_test.go:101 -> git.golang1.ru/softonik/godog/internal/formatters_test.passingStepDef 4 scenarios (4 passed) 16 steps (16 passed) diff --git a/internal/formatters/formatter-tests/pretty/scenario_outline b/internal/formatters/formatter-tests/pretty/scenario_outline index aa50d28..e977287 100644 --- a/internal/formatters/formatter-tests/pretty/scenario_outline +++ b/internal/formatters/formatter-tests/pretty/scenario_outline @@ -1,9 +1,9 @@ Feature: outline Scenario Outline: outline # formatter-tests/features/scenario_outline.feature:5 - Given passing step # fmt_output_test.go:101 -> github.com/cucumber/godog/internal/formatters_test.passingStepDef - When passing step # fmt_output_test.go:101 -> github.com/cucumber/godog/internal/formatters_test.passingStepDef - Then odd and even number # fmt_output_test.go:103 -> github.com/cucumber/godog/internal/formatters_test.oddEvenStepDef + Given passing step # fmt_output_test.go:101 -> git.golang1.ru/softonik/godog/internal/formatters_test.passingStepDef + When passing step # fmt_output_test.go:101 -> git.golang1.ru/softonik/godog/internal/formatters_test.passingStepDef + Then odd and even number # fmt_output_test.go:103 -> git.golang1.ru/softonik/godog/internal/formatters_test.oddEvenStepDef Examples: tagged | odd | even | diff --git a/internal/formatters/formatter-tests/pretty/scenario_with_background b/internal/formatters/formatter-tests/pretty/scenario_with_background index c31b9a6..c432771 100644 --- a/internal/formatters/formatter-tests/pretty/scenario_with_background +++ b/internal/formatters/formatter-tests/pretty/scenario_with_background @@ -1,12 +1,12 @@ Feature: single scenario with background Background: named - Given passing step # fmt_output_test.go:101 -> github.com/cucumber/godog/internal/formatters_test.passingStepDef - And passing step # fmt_output_test.go:101 -> github.com/cucumber/godog/internal/formatters_test.passingStepDef + Given passing step # fmt_output_test.go:101 -> git.golang1.ru/softonik/godog/internal/formatters_test.passingStepDef + And passing step # fmt_output_test.go:101 -> git.golang1.ru/softonik/godog/internal/formatters_test.passingStepDef Scenario: scenario # formatter-tests/features/scenario_with_background.feature:7 - When passing step # fmt_output_test.go:101 -> github.com/cucumber/godog/internal/formatters_test.passingStepDef - Then passing step # fmt_output_test.go:101 -> github.com/cucumber/godog/internal/formatters_test.passingStepDef + When passing step # fmt_output_test.go:101 -> git.golang1.ru/softonik/godog/internal/formatters_test.passingStepDef + Then passing step # fmt_output_test.go:101 -> git.golang1.ru/softonik/godog/internal/formatters_test.passingStepDef 1 scenarios (1 passed) 4 steps (4 passed) diff --git a/internal/formatters/formatter-tests/pretty/single_scenario_with_passing_step b/internal/formatters/formatter-tests/pretty/single_scenario_with_passing_step index 537a239..3aaae5f 100644 --- a/internal/formatters/formatter-tests/pretty/single_scenario_with_passing_step +++ b/internal/formatters/formatter-tests/pretty/single_scenario_with_passing_step @@ -4,7 +4,7 @@ feature Scenario: one step passing # formatter-tests/features/single_scenario_with_passing_step.feature:6 - Given a passing step # fmt_output_test.go:101 -> github.com/cucumber/godog/internal/formatters_test.passingStepDef + Given a passing step # fmt_output_test.go:101 -> git.golang1.ru/softonik/godog/internal/formatters_test.passingStepDef 1 scenarios (1 passed) 1 steps (1 passed) diff --git a/internal/formatters/formatter-tests/pretty/some_scenarios_including_failing b/internal/formatters/formatter-tests/pretty/some_scenarios_including_failing index 6c612a7..669026f 100644 --- a/internal/formatters/formatter-tests/pretty/some_scenarios_including_failing +++ b/internal/formatters/formatter-tests/pretty/some_scenarios_including_failing @@ -1,19 +1,19 @@ Feature: some scenarios Scenario: failing # formatter-tests/features/some_scenarios_including_failing.feature:3 - Given passing step # fmt_output_test.go:101 -> github.com/cucumber/godog/internal/formatters_test.passingStepDef - When failing step # fmt_output_test.go:117 -> github.com/cucumber/godog/internal/formatters_test.failingStepDef + Given passing step # fmt_output_test.go:101 -> git.golang1.ru/softonik/godog/internal/formatters_test.passingStepDef + When failing step # fmt_output_test.go:117 -> git.golang1.ru/softonik/godog/internal/formatters_test.failingStepDef step failed - Then passing step # fmt_output_test.go:101 -> github.com/cucumber/godog/internal/formatters_test.passingStepDef + Then passing step # fmt_output_test.go:101 -> git.golang1.ru/softonik/godog/internal/formatters_test.passingStepDef Scenario: pending # formatter-tests/features/some_scenarios_including_failing.feature:8 - When pending step # fmt_output_test.go:115 -> github.com/cucumber/godog/internal/formatters_test.pendingStepDef + When pending step # fmt_output_test.go:115 -> git.golang1.ru/softonik/godog/internal/formatters_test.pendingStepDef TODO: write pending definition - Then passing step # fmt_output_test.go:101 -> github.com/cucumber/godog/internal/formatters_test.passingStepDef + Then passing step # fmt_output_test.go:101 -> git.golang1.ru/softonik/godog/internal/formatters_test.passingStepDef Scenario: undefined # formatter-tests/features/some_scenarios_including_failing.feature:12 When undefined - Then passing step # fmt_output_test.go:101 -> github.com/cucumber/godog/internal/formatters_test.passingStepDef + Then passing step # fmt_output_test.go:101 -> git.golang1.ru/softonik/godog/internal/formatters_test.passingStepDef Scenario: ambiguous # formatter-tests/features/some_scenarios_including_failing.feature:16 When ambiguous step @@ -21,7 +21,7 @@ matches: ^ambiguous step.*$ ^ambiguous step$ - Then passing step # fmt_output_test.go:XXX -> github.com/cucumber/godog/internal/formatters_test.passingStepDef + Then passing step # fmt_output_test.go:XXX -> git.golang1.ru/softonik/godog/internal/formatters_test.passingStepDef --- Failed steps: diff --git a/internal/formatters/formatter-tests/pretty/two_scenarios_with_background_fail b/internal/formatters/formatter-tests/pretty/two_scenarios_with_background_fail index a41f2c3..cb839de 100644 --- a/internal/formatters/formatter-tests/pretty/two_scenarios_with_background_fail +++ b/internal/formatters/formatter-tests/pretty/two_scenarios_with_background_fail @@ -1,16 +1,16 @@ Feature: two scenarios with background fail Background: - Given passing step # fmt_output_test.go:101 -> github.com/cucumber/godog/internal/formatters_test.passingStepDef - And failing step # fmt_output_test.go:117 -> github.com/cucumber/godog/internal/formatters_test.failingStepDef + Given passing step # fmt_output_test.go:101 -> git.golang1.ru/softonik/godog/internal/formatters_test.passingStepDef + And failing step # fmt_output_test.go:117 -> git.golang1.ru/softonik/godog/internal/formatters_test.failingStepDef step failed Scenario: one # formatter-tests/features/two_scenarios_with_background_fail.feature:7 - When passing step # fmt_output_test.go:101 -> github.com/cucumber/godog/internal/formatters_test.passingStepDef - Then passing step # fmt_output_test.go:101 -> github.com/cucumber/godog/internal/formatters_test.passingStepDef + When passing step # fmt_output_test.go:101 -> git.golang1.ru/softonik/godog/internal/formatters_test.passingStepDef + Then passing step # fmt_output_test.go:101 -> git.golang1.ru/softonik/godog/internal/formatters_test.passingStepDef Scenario: two # formatter-tests/features/two_scenarios_with_background_fail.feature:11 - Then passing step # fmt_output_test.go:101 -> github.com/cucumber/godog/internal/formatters_test.passingStepDef + Then passing step # fmt_output_test.go:101 -> git.golang1.ru/softonik/godog/internal/formatters_test.passingStepDef --- Failed steps: diff --git a/internal/formatters/utils_test.go b/internal/formatters/utils_test.go index 6463141..0ea1030 100644 --- a/internal/formatters/utils_test.go +++ b/internal/formatters/utils_test.go @@ -4,7 +4,7 @@ import ( "testing" "time" - "github.com/cucumber/godog/internal/utils" + "git.golang1.ru/softonik/godog/internal/utils" ) // this zeroes the time throughout whole test suite diff --git a/internal/models/feature_test.go b/internal/models/feature_test.go index 100ad2b..30c3e76 100644 --- a/internal/models/feature_test.go +++ b/internal/models/feature_test.go @@ -3,8 +3,8 @@ package models_test import ( "testing" - "github.com/cucumber/godog/internal/models" - "github.com/cucumber/godog/internal/testutils" + "git.golang1.ru/softonik/godog/internal/models" + "git.golang1.ru/softonik/godog/internal/testutils" "github.com/stretchr/testify/assert" ) diff --git a/internal/models/results.go b/internal/models/results.go index 9c7f98d..d1b401b 100644 --- a/internal/models/results.go +++ b/internal/models/results.go @@ -3,8 +3,8 @@ package models import ( "time" - "github.com/cucumber/godog/colors" - "github.com/cucumber/godog/internal/utils" + "git.golang1.ru/softonik/godog/colors" + "git.golang1.ru/softonik/godog/internal/utils" ) // TestRunStarted ... diff --git a/internal/models/results_test.go b/internal/models/results_test.go index b8787a6..f60fec7 100644 --- a/internal/models/results_test.go +++ b/internal/models/results_test.go @@ -6,8 +6,8 @@ import ( "github.com/stretchr/testify/assert" - "github.com/cucumber/godog/colors" - "github.com/cucumber/godog/internal/models" + "git.golang1.ru/softonik/godog/colors" + "git.golang1.ru/softonik/godog/internal/models" ) type stepResultStatusTestCase struct { diff --git a/internal/models/stepdef.go b/internal/models/stepdef.go index eaf73e7..74b7b81 100644 --- a/internal/models/stepdef.go +++ b/internal/models/stepdef.go @@ -9,7 +9,7 @@ import ( messages "github.com/cucumber/messages/go/v21" - "github.com/cucumber/godog/formatters" + "git.golang1.ru/softonik/godog/formatters" ) var typeOfBytes = reflect.TypeOf([]byte(nil)) diff --git a/internal/models/stepdef_test.go b/internal/models/stepdef_test.go index e66c533..2a54cad 100644 --- a/internal/models/stepdef_test.go +++ b/internal/models/stepdef_test.go @@ -11,9 +11,9 @@ import ( "github.com/stretchr/testify/assert" - "github.com/cucumber/godog" - "github.com/cucumber/godog/formatters" - "github.com/cucumber/godog/internal/models" + "git.golang1.ru/softonik/godog" + "git.golang1.ru/softonik/godog/formatters" + "git.golang1.ru/softonik/godog/internal/models" messages "github.com/cucumber/messages/go/v21" ) diff --git a/internal/parser/parser.go b/internal/parser/parser.go index b2c57fc..09aa7e3 100644 --- a/internal/parser/parser.go +++ b/internal/parser/parser.go @@ -13,9 +13,9 @@ import ( gherkin "github.com/cucumber/gherkin/go/v26" messages "github.com/cucumber/messages/go/v21" - "github.com/cucumber/godog/internal/flags" - "github.com/cucumber/godog/internal/models" - "github.com/cucumber/godog/internal/tags" + "git.golang1.ru/softonik/godog/internal/flags" + "git.golang1.ru/softonik/godog/internal/models" + "git.golang1.ru/softonik/godog/internal/tags" ) var pathLineRe = regexp.MustCompile(`:([\d]+)$`) diff --git a/internal/parser/parser_test.go b/internal/parser/parser_test.go index 4dd54b2..0974468 100644 --- a/internal/parser/parser_test.go +++ b/internal/parser/parser_test.go @@ -11,8 +11,8 @@ import ( "github.com/stretchr/testify/assert" "github.com/stretchr/testify/require" - "github.com/cucumber/godog/internal/parser" - "github.com/cucumber/godog/internal/storage" + "git.golang1.ru/softonik/godog/internal/parser" + "git.golang1.ru/softonik/godog/internal/storage" messages "github.com/cucumber/messages/go/v21" ) diff --git a/internal/storage/fs_test.go b/internal/storage/fs_test.go index 461bb0a..7aebbb6 100644 --- a/internal/storage/fs_test.go +++ b/internal/storage/fs_test.go @@ -10,7 +10,7 @@ import ( "testing" "testing/fstest" - "github.com/cucumber/godog/internal/storage" + "git.golang1.ru/softonik/godog/internal/storage" "github.com/stretchr/testify/assert" "github.com/stretchr/testify/require" ) diff --git a/internal/storage/storage.go b/internal/storage/storage.go index 72b7e86..bbf6b22 100644 --- a/internal/storage/storage.go +++ b/internal/storage/storage.go @@ -7,7 +7,7 @@ import ( messages "github.com/cucumber/messages/go/v21" "github.com/hashicorp/go-memdb" - "github.com/cucumber/godog/internal/models" + "git.golang1.ru/softonik/godog/internal/models" ) const ( diff --git a/internal/storage/storage_test.go b/internal/storage/storage_test.go index 47b8f7c..e357b1e 100644 --- a/internal/storage/storage_test.go +++ b/internal/storage/storage_test.go @@ -7,9 +7,9 @@ import ( messages "github.com/cucumber/messages/go/v21" "github.com/stretchr/testify/assert" - "github.com/cucumber/godog/internal/models" - "github.com/cucumber/godog/internal/storage" - "github.com/cucumber/godog/internal/testutils" + "git.golang1.ru/softonik/godog/internal/models" + "git.golang1.ru/softonik/godog/internal/storage" + "git.golang1.ru/softonik/godog/internal/testutils" ) func Test_MustGetPickle(t *testing.T) { diff --git a/internal/tags/tag_filter_f_test.go b/internal/tags/tag_filter_f_test.go index ce73550..d8c9bab 100644 --- a/internal/tags/tag_filter_f_test.go +++ b/internal/tags/tag_filter_f_test.go @@ -5,7 +5,7 @@ import ( "github.com/stretchr/testify/assert" - "github.com/cucumber/godog/internal/tags" + "git.golang1.ru/softonik/godog/internal/tags" ) type testcaseF struct { diff --git a/internal/tags/tag_filter_test.go b/internal/tags/tag_filter_test.go index c4cb592..61bc274 100644 --- a/internal/tags/tag_filter_test.go +++ b/internal/tags/tag_filter_test.go @@ -5,7 +5,7 @@ import ( "github.com/stretchr/testify/assert" - "github.com/cucumber/godog/internal/tags" + "git.golang1.ru/softonik/godog/internal/tags" messages "github.com/cucumber/messages/go/v21" ) diff --git a/internal/testutils/utils.go b/internal/testutils/utils.go index ca435a0..1b806a9 100644 --- a/internal/testutils/utils.go +++ b/internal/testutils/utils.go @@ -8,7 +8,7 @@ import ( messages "github.com/cucumber/messages/go/v21" "github.com/stretchr/testify/require" - "github.com/cucumber/godog/internal/models" + "git.golang1.ru/softonik/godog/internal/models" ) // BuildTestFeature creates a feature for testing purpose. diff --git a/options.go b/options.go index 2b32cfd..38069f2 100644 --- a/options.go +++ b/options.go @@ -1,6 +1,6 @@ package godog -import "github.com/cucumber/godog/internal/flags" +import "git.golang1.ru/softonik/godog/internal/flags" // Options are suite run options // flags are mapped to these options. diff --git a/run.go b/run.go index 1231d02..ef304bc 100644 --- a/run.go +++ b/run.go @@ -18,13 +18,13 @@ import ( messages "github.com/cucumber/messages/go/v21" - "github.com/cucumber/godog/colors" - "github.com/cucumber/godog/formatters" - ifmt "github.com/cucumber/godog/internal/formatters" - "github.com/cucumber/godog/internal/models" - "github.com/cucumber/godog/internal/parser" - "github.com/cucumber/godog/internal/storage" - "github.com/cucumber/godog/internal/utils" + "git.golang1.ru/softonik/godog/colors" + "git.golang1.ru/softonik/godog/formatters" + ifmt "git.golang1.ru/softonik/godog/internal/formatters" + "git.golang1.ru/softonik/godog/internal/models" + "git.golang1.ru/softonik/godog/internal/parser" + "git.golang1.ru/softonik/godog/internal/storage" + "git.golang1.ru/softonik/godog/internal/utils" ) const ( diff --git a/run_progress_test.go b/run_progress_test.go index 841b718..68732bf 100644 --- a/run_progress_test.go +++ b/run_progress_test.go @@ -11,10 +11,10 @@ import ( "github.com/stretchr/testify/assert" "github.com/stretchr/testify/require" - "github.com/cucumber/godog/colors" - "github.com/cucumber/godog/internal/formatters" - "github.com/cucumber/godog/internal/models" - "github.com/cucumber/godog/internal/storage" + "git.golang1.ru/softonik/godog/colors" + "git.golang1.ru/softonik/godog/internal/formatters" + "git.golang1.ru/softonik/godog/internal/models" + "git.golang1.ru/softonik/godog/internal/storage" ) var basicGherkinFeature = ` diff --git a/run_test.go b/run_test.go index bb6f4b9..106bc0a 100644 --- a/run_test.go +++ b/run_test.go @@ -20,10 +20,10 @@ import ( "github.com/stretchr/testify/assert" "github.com/stretchr/testify/require" - "github.com/cucumber/godog/colors" - "github.com/cucumber/godog/internal/formatters" - "github.com/cucumber/godog/internal/models" - "github.com/cucumber/godog/internal/storage" + "git.golang1.ru/softonik/godog/colors" + "git.golang1.ru/softonik/godog/internal/formatters" + "git.golang1.ru/softonik/godog/internal/models" + "git.golang1.ru/softonik/godog/internal/storage" ) func okStep() error { diff --git a/suite.go b/suite.go index b3a87a0..8a96691 100644 --- a/suite.go +++ b/suite.go @@ -10,10 +10,10 @@ import ( messages "github.com/cucumber/messages/go/v21" - "github.com/cucumber/godog/formatters" - "github.com/cucumber/godog/internal/models" - "github.com/cucumber/godog/internal/storage" - "github.com/cucumber/godog/internal/utils" + "git.golang1.ru/softonik/godog/formatters" + "git.golang1.ru/softonik/godog/internal/models" + "git.golang1.ru/softonik/godog/internal/storage" + "git.golang1.ru/softonik/godog/internal/utils" ) var ( diff --git a/suite_context_test.go b/suite_context_test.go index 2dcffe3..179c6d0 100644 --- a/suite_context_test.go +++ b/suite_context_test.go @@ -19,12 +19,12 @@ import ( "github.com/stretchr/testify/assert" "github.com/stretchr/testify/require" - "github.com/cucumber/godog/colors" - "github.com/cucumber/godog/internal/formatters" - "github.com/cucumber/godog/internal/models" - "github.com/cucumber/godog/internal/parser" - "github.com/cucumber/godog/internal/storage" - "github.com/cucumber/godog/internal/utils" + "git.golang1.ru/softonik/godog/colors" + "git.golang1.ru/softonik/godog/internal/formatters" + "git.golang1.ru/softonik/godog/internal/models" + "git.golang1.ru/softonik/godog/internal/parser" + "git.golang1.ru/softonik/godog/internal/storage" + "git.golang1.ru/softonik/godog/internal/utils" ) // InitializeScenario provides steps for godog suite execution and @@ -842,7 +842,7 @@ func (tc *godogFeaturesScenario) theRenderOutputWillBe(docstring *DocString) err actualSuiteCtxReg := regexp.MustCompile(`(suite_context_test\.go|\):\d+`) expectedSuiteCtxFuncReg := regexp.MustCompile(`SuiteContext.func(\d+)`) - actualSuiteCtxFuncReg := regexp.MustCompile(`github.com/cucumber/godog.InitializeScenario.func(\d+)`) + actualSuiteCtxFuncReg := regexp.MustCompile(`git.golang1.ru/softonik/godog.InitializeScenario.func(\d+)`) suiteCtxPtrReg := regexp.MustCompile(`\*suiteContext`) diff --git a/test_context.go b/test_context.go index 8156c6d..adcff78 100644 --- a/test_context.go +++ b/test_context.go @@ -6,10 +6,10 @@ import ( "reflect" "regexp" - "github.com/cucumber/godog/formatters" - "github.com/cucumber/godog/internal/builder" - "github.com/cucumber/godog/internal/flags" - "github.com/cucumber/godog/internal/models" + "git.golang1.ru/softonik/godog/formatters" + "git.golang1.ru/softonik/godog/internal/builder" + "git.golang1.ru/softonik/godog/internal/flags" + "git.golang1.ru/softonik/godog/internal/models" messages "github.com/cucumber/messages/go/v21" ) diff --git a/utils_test.go b/utils_test.go index a8ebe13..bc9c46e 100644 --- a/utils_test.go +++ b/utils_test.go @@ -4,7 +4,7 @@ import ( "testing" "time" - "github.com/cucumber/godog/internal/utils" + "git.golang1.ru/softonik/godog/internal/utils" ) // this zeroes the time throughout whole test suite