godog/internal
Arianna Cooper 1a795f1dde
Fix issue#383 (#468)
* 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>
2022-04-28 14:33:24 +02:00
..
builder Fix issue#383 (#468) 2022-04-28 14:33:24 +02:00
flags Add option to run scenarios as *testing.T subtests (#419) 2021-08-11 17:19:05 +02:00
formatters Export internal formatters (#372) 2021-08-10 11:27:17 +02:00
models Add new contextualized API for hooks and steps (#409) 2021-08-03 17:48:05 +02:00
parser Fix execution of scenarios provided as a list of path:line (#414) 2021-08-07 22:37:31 +02:00
storage update gherkin-go to v19.0.3 2021-06-28 17:19:43 +01:00
tags update gherkin-go to v19.0.3 2021-06-28 17:19:43 +01:00
testutils update gherkin-go to v19.0.3 2021-06-28 17:19:43 +01:00
utils Created internal packages for formatters, storage and models 2020-07-02 08:51:31 +02:00