Граф коммитов

34 коммитов

Автор SHA1 Сообщение Дата
Viacheslav Poturaev
c5a86a4e56 Update vulnerable test dependency 2022-05-28 12:03:13 +02:00
Martin de Olmos
4ca5ec040b
Update go version in go.mod (go1.16). Update dependencies (#471)
* Update go version in go.mod (go1.17). Update dependencies.

* Update go version in go.mod (go1.17). Run go mod tidy in _examples.

* Update go version in go.mod (go1.16).

* Update go version in go.mod (go1.16).
2022-04-28 14:36:38 +02:00
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
Ricardo García Fernández
5efecbaf10
Update tests and examples with up to date API (#460) 2022-02-18 18:26:17 +01:00
Viacheslav Poturaev
95278dfd39
Automate binary releases (#437)
* Add release assets automation

* Use single module with local replace for examples

* Update CHANGELOG.md

* Allow expected failure for custom formatter example test

* Set version value with ldflags

* Restore artifacts cleanup
2022-01-05 23:00:29 +01:00
Levi Noecker
c6c2a0885b
Export internal formatters (#372) 2021-08-10 11:27:17 +02:00
Matt Wynne
3de6fb09f3
Merge pull request #391 from cucumber/flag-to-pflag
remove renamed imports of pflag.
2021-07-12 23:14:48 -07:00
Viacheslav Poturaev
ee7ab9c52b Fix example build by pinning untagged version of godog 2021-07-07 19:48:47 +02:00
Viacheslav Poturaev
d4c6c236b1 Apply gofmt to fix CircleCI jobs 2021-07-07 18:12:11 +02:00
MBow
5414f3c5da update gherkin-go to v19.0.3
update messages-go to v16.0.1
bump gomod version
comment on log line in std os.Stderr
examples to non rc version
go mod tidy
update circle (tbd)
2021-06-28 17:19:43 +01:00
Rickard Englund
cdf3bfc099 removed renamed imports of pflag.
This was causing way to much investigating in order for me to find
That I've only copied parts of the examples resulting in "flag".Parse
instead of pflag.Parse()
2021-05-30 19:14:26 +02:00
Fredrik Lönnblad
1548642333 Removed rc references for the v0.11.0 release 2021-01-12 20:21:21 +01:00
Fredrik Lönnblad
59cd5d8e3f
Fixed an issue when go test is parsing command-line flags (#359)
* Fixed an issue when go test is parsing command-line flags

* Added some extra information for parsing flags to the README.md
2020-11-26 13:47:47 +01:00
Fredrik Lönnblad
7014a10e2f
Fixed the undefined step definitions help (#350) 2020-10-14 08:39:14 +02:00
Fredrik Lönnblad
722d97bc48 Added Cobra for the Command Line Interface 2020-07-07 21:13:25 +02:00
Fredrik Lönnblad
6d3da7a27b Created a simple example for a custom formatter 2020-07-07 07:54:27 +02:00
Fredrik Lönnblad
51a387469c v0.10.0 release 2020-06-25 08:58:03 +02:00
Fredrik Lönnblad
fc084134a0 Wrote Release Notes, updated CHANGELOG.md and versions in README.md and godog version const 2020-06-23 20:42:48 +02:00
Fredrik Lönnblad
13acd2d219 Readded some legacy doc for FeatureContext 2020-05-23 08:51:23 +02:00
Fredrik Lönnblad
e6227a2e0f Added the new TestSuiteInitializer and ScenarioInitializer 2020-05-18 09:48:06 +02:00
Fredrik Lönnblad
d0a28b5a94 Updated linting checks in circleci config and fixed linting issues 2020-05-03 12:09:51 +02:00
Fredrik Lönnblad
bfee72ddec Added an example for how to use assertion pkgs like testify with godog 2020-05-02 18:52:19 +02:00
leviable
7e432e13ed Update example screenshot paths 2020-03-23 11:24:31 -05:00
Fredrik Lönnblad
ec88ee5226 Fixed final release doc for v0.9.0 2020-03-22 18:08:17 +01:00
Fredrik Lönnblad
315f9e96d8 Created release candidate 2 2020-03-16 08:10:04 -03:00
Fredrik Lönnblad
1b471d62c4 Merge branch 'master' into release/v0.9.0 2020-03-16 08:04:07 -03:00
Denis Trofimov
05db4cc9a9
Fix #262
Bug then running the example of an API, a feature version need to bump to latest reported 0.8.1 #262
2020-03-16 12:24:05 +03:00
Fredrik Lönnblad
1c38b5b245 Updated doc references to gherkin-go and messages-go 2020-03-14 09:13:14 -03:00
Fredrik Lönnblad
58bcac6a61 Upgraded gherkin-go and messages-go to latest 2020-03-12 15:16:43 -03:00
Fredrik Lönnblad
03c53d9780
Revert "Revert "Migrated to github.com/cucumber/gherkin-go - v9.2.0"" 2020-03-09 14:40:09 -03:00
Fredrik Lönnblad
84b42bdd4d
Revert "Migrated to github.com/cucumber/gherkin-go - v9.2.0" 2020-03-05 19:37:39 -03:00
Fredrik Lönnblad
b62eb13ee7 Fixed the migration in an example 2020-03-05 16:57:47 -03:00
Fredrik Lönnblad
c2c123f90a Migrated to github.com/cucumber/gherkin-go - v9.2.0
Signed-off-by: Fredrik Lönnblad <fredrik+github@lonnblad.com>
2020-02-29 16:00:33 -03:00
Andrew Wilkins
22a08a545d
Rename examples to _examples
Rename the examples so that their dependencies
don't leak into the main module.
2020-02-10 09:31:52 +08:00