Поправлена ошибка нарушения последовательности шагов тестов, сохранённых
в базе hashicorp/go-memdb@v1.3.2
Проявлялась в Go 1.19.
В Go 1.17, которая в требованиях - проблемы не было.
* Add example about incorrect project structure
This is to help reproduce #383
* Added some debugging statements
* Update go.sum for example project
* Made a cmd_run_test.go file in order to test and run the builderAndRunGodog function in order to see it fail
* added new assertion test
* Matt and I added debugging
Co-authored-by: Matt Wynne <matt@mattwynne.net>
* Matt and I tried to logging through the cobra command
by using cmd.OutOrStdout( )
* Improved some debugging
* Add a failing test for Builder that reproduces #383
* added new test for IncorrectProjectStructure #383
* Revert "Add a failing test for Builder that reproduces #383"
This reverts commit e5b26933b5d4e979009f8f4341448fa8322720d2.
* ignored vscode files
Co-authored-by: Matt Wynne <matt@cucumber.io>
* undid debugging changes
* undid debugging changes
* removed redundant test
* added check for incorrect project structure
we examined the output from running `go test` which tells us if we didn't
find any test files.
we tweaked the error message to follow the capitalization rules
Co-authored-by: Matt Wynne <matt@cucumber.io>
* Update internal/builder/builder_test.go
Co-authored-by: Matt Wynne <matt@mattwynne.net>
Co-authored-by: Matt Wynne <matt@cucumber.io>
Co-authored-by: Viacheslav Poturaev <nanopeni@gmail.com>
* Add new contextualized API for hooks and steps
* Make default context configurable
* Run AfterStep hooks even after failed steps, fixes#370
* Update CHANGELOG and README
* Add step result status to After hook, fixes#378
* Elaborate hooks documentation
* Add test to pass state between contextualized steps
* Update README with example of passing state between steps
* Fix step definition output for Data Tables
This fixes incorrect step definition output for Data Tables. The
PickleStepArgument_PickleTable type does not exist in the current
messages-go version.
* updated CHANGELOG.md
Issue: It is not possible to use function without return when
matching steps, resulting in a lot of Nil only error
returns.
Fix: Allows to provide empty result function by correctly matching
reflect Calls on step Handler.
When nothing is returned by the Handler, it will return
nil as if errors was nil.
* make pickleStepIDs unique accross multiple paths
* add test case for duplicate pickle ids
* go fmt
Co-authored-by: Rickard Englund <rickard.englund@skf.com>
* Improved the help text of the formatter flag in the run command
* Made some more changes to the help text for the run command
* made some small changes to the help text of the run and build cmd