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

60 коммитов

Автор SHA1 Сообщение Дата
renovate[bot]
e03da742a5
fix(deps): update module github.com/spf13/pflag to v1.0.6 (#675)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-01-30 23:24:31 +00:00
renovate[bot]
9b699ff9a8
fix(deps): update module github.com/cucumber/godog to v0.15.0 (#661)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-11-02 01:42:01 +00:00
John Lonergan
8edde7f30c
Bugfix afterscenario attachments (#646)
* Minor doc and comment corrections

* Fixed bug where it was impossible to make attachments from 'after scenario' hook, also removed some dud comments.

* typo
2024-10-06 02:12:56 +01:00
John Lonergan
1e7c45eb78
Minor doc and comment corrections (#644) 2024-10-05 02:40:42 +01:00
John Lonergan
901da7fa3d
fixed a bug where the attachments are extracted from the context too early, this prevented AfterStep from making attachments (#637)
* fixed a bug where the attachments are extracted from the context too early, this prevented AfterStep from making attachments
2024-07-23 17:22:51 +01:00
John Lonergan
9558224cce
Additional code review observations on Attach() functionality from https://github.com/cucumber/godog/pull/623 (#628)
* support multiple calls to the Attach() function from a single step

* run_progress_test.go changed so it's not sensitive to the name of the clone target directory

* applied code review comments also added _example/attachments

* applied code review comments also added _example/attachments

* applied code review comments also added _example/attachments
2024-05-30 02:29:14 +00:00
renovate[bot]
c3756d1aa2
fix(deps): update module github.com/cucumber/godog to v0.14.1 (#618)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-04-30 14:31:36 +00:00
Mark Hughes
7017c73ef8
Provide a useful implementation of something compatible with testing.T (#571)
* Attempting to provide a useful implementation of something compatible with testing.T

* Handle Fail calls on the TestingT in the right place

* Provide as much of testing.T as possible + tidy up

* Add initial tests for testingT support

* Check compatibility with testing.T and friends

Co-authored-by: Piotr Bocheński <bochenski.piotr@gmail.com>

* Update assert-godogs example to show new usage. Rename 'GetTestingT(ctx)' to 'T(ctx)'

* Update changelog and readme with new usage

* Improve test coverage

* Review updates

---------

Co-authored-by: Piotr Bocheński <bochenski.piotr@gmail.com>
2024-04-29 10:26:25 +02:00
renovate[bot]
244de8274a
fix(deps): update module github.com/cucumber/godog to v0.14.0 (#610)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-02-01 22:35:22 +00:00
renovate[bot]
a37ff90667
fix(deps): update module github.com/cucumber/godog to v0.13.0 (#574)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-08-23 20:45:17 +00:00
Viacheslav Poturaev
d3aec7142e
Improve example with concurrency support (#573) 2023-08-22 14:21:34 +02:00
Yury Yurochko
75d5cab90d
fix(examples): update api example (#532) 2023-08-17 11:23:10 +02:00
Viacheslav Poturaev
35820ff9fe Reduce deps, fix CI for go1.16, format imports 2023-05-26 16:38:51 +02:00
Viacheslav Poturaev
3eae6c0437 Update dependencies 2023-05-26 14:57:29 +02:00
renovate[bot]
472ea2735d
fix(deps): update module github.com/cucumber/gherkin/go/v26 to v26.1.0 (#549)
* Update CI for go1.20 (#552)

* fix(deps): update module github.com/cucumber/gherkin/go/v26 to v26.1.0

* Tidy modules

---------

Co-authored-by: Viacheslav Poturaev <vearutop@gmail.com>
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-04-04 00:43:31 +02:00
renovate[bot]
bcffb1c829
fix(deps): update module github.com/stretchr/testify to v1.8.2 (#541)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-02-26 18:49:40 +00:00
renovate[bot]
d4d18646f6
fix(deps): update module github.com/data-dog/go-txdb to v0.1.6 (#540)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-02-24 21:49:25 +00:00
renovate[bot]
0892aced88
fix(deps): update module github.com/smartystreets/goconvey to v1.7.2 (#525)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: M.P. Korstanje <rien.korstanje@gmail.com>
2023-01-08 16:47:14 +00:00
renovate[bot]
0fd767543f
fix(deps): update module github.com/spf13/cobra to v1.6.1 (#526)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: M.P. Korstanje <rien.korstanje@gmail.com>
2023-01-08 17:41:08 +01:00
renovate[bot]
2e91c32e91
fix(deps): update module github.com/hashicorp/go-memdb to v1.3.4 (#523)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: M.P. Korstanje <rien.korstanje@gmail.com>
2023-01-08 17:36:50 +01:00
renovate[bot]
70b4f7fecb
fix(deps): update module github.com/go-sql-driver/mysql to v1.7.0 (#524)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-01-08 17:30:54 +01:00
renovate[bot]
3918bda77b
fix(deps): update module github.com/data-dog/go-txdb to v0.1.5 (#522)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-01-08 17:30:19 +01:00
renovate[bot]
8cd8a8014a
fix(deps): update module github.com/cucumber/gherkin/go/v26 to v26.0.3 (#519)
* fix(deps): update module github.com/cucumber/gherkin/go/v26 to v26.0.3

* Clean up

* Clean up

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: M.P. Korstanje <rien.korstanje@gmail.com>
2023-01-08 17:27:21 +01:00
renovate[bot]
802c8978a2
fix(deps): update module github.com/cucumber/godog to v0.12.6 (#520)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-01-08 17:20:37 +01:00
Alexandru Chitu
2264a0037b
chore(*): BREAKING CHANGE, use new repos for cucumber and messages (#515)
* chore(*): use new repos for cucumber and messages

* chore(*): go mod tidy _examples

Co-authored-by: otrava7 <alexandru.chit@gmail.com>
2023-01-05 12:41:56 +01:00
Viacheslav Poturaev
c35ea0b236
Remove deprecation from flags, update example to use CLI flags (#498)
* Remove deprecation from flags, update example to use CLI flags

* Add comment to ShowHelp option

* Fix test

* Update CHANGELOG.md
2022-08-31 10:17:00 +02:00
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