Dragan Milic
0dcbfef9be
cancel context for each scenario ( #514 )
...
* 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>
* cancel context for each scenario
* Update suite.go
---------
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Viacheslav Poturaev <vearutop@gmail.com>
Co-authored-by: Viacheslav Poturaev <nanopeni@gmail.com>
2023-04-04 01:28:03 +02:00
Tighearnán Carroll
6ce2b8696b
Use fs.FS
abstraction for filesystem ( #550 )
...
* compiles
* mock fs in tests
* fix parser tests
* fix run.go
* rename FeatureFS to FS
* fix docs typos
* remove debug log
* add os.DirFS("./") to default options
* reword docstring
* add fs wrapper
* updated readme and changelog
* added note
* fix changelog
* remove ./ gating from defaults
* add new storage.FS tests
* increase coverage of parser.parsePath
* increase coverage of TestSuite.RetrieveFeatures
* remove another os.Stat
---------
Co-authored-by: Tighearnán Carroll <tighearnan.carroll@gamil.com>
2023-03-27 21:52:51 +02:00
Daniel Helfand
3bd9e9ca4f
docs: prefer go test to use of godog cli in README ( #548 )
2023-03-24 09:19:12 +01:00
Alexandru Chitu
62d84eedbc
Implement unambiguous keywords ( #509 )
...
feat(*): create keyword functions
* chore(*): update messages and gherkin, relocate Keyword
* chore(*): update messages and gherkin, relocate Keyword
* chore(*): update messages and gherkin, relocate Keyword
* feat(*): mandate keyword type when unambiguous keyword function is used
* test(*): keyword type in feature files
* docs(*): update step-by-step walkthrough to mention the option of using keyword functions
* docs(*): update CHANGELOG.md
* test(*): keyword substeps
* chore(*): go mod
2023-01-23 14:22:19 +00:00
Viacheslav Poturaev
9007f1f26d
Update CHANGELOG.md for release v0.12.6 ( #516 )
2023-01-05 11:00:23 +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
202882807b
Skip undefined steps in after scenario hooks ( #494 )
2022-08-16 09:37:33 +02:00
Viacheslav Poturaev
6f3e792c52
Add deprecation notice to godog CLI ( #489 )
...
* Add deprecation notice to godog CLI
* Update CHANGELOG
2022-07-31 15:38:05 +02:00
Wichert Akkerman
b2672bb933
Do not discard context from substeps ( #488 )
2022-07-25 13:43:36 +02:00
Brian Hnat
b5400809cd
Update CHANGELOG.md ( #482 )
...
Add bug fix from PR #480 to CHANGELOG.md.
2022-06-17 21:10:11 -04:00
Viacheslav Poturaev
99655f7e7e
Update README to reflect current best practices in creating and running tests ( #477 )
...
* Update README to reflect current best practices in creating and running tests
* Update CHANGELOG and README
Co-authored-by: Matt Wynne <matt@cucumber.io>
2022-05-21 08:21:41 +02:00
Matt Wynne
5793a95e1c
Reformat CHANGELOG.md using standard changelog
CLI tool ( #474 )
...
* Reformat using standard `changelog` CLI tool
See https://github.com/cucumber/changelog
* Fix missing link to username
* Tidy
2022-04-30 14:43:35 -07:00
Viacheslav Poturaev
d77238eef3
Prepare for release
2022-03-26 10:18:09 +01:00
Viacheslav Poturaev
6f877d6b03
Fix support for go1.18 ( #466 )
2022-03-26 10:16:17 +01: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
Gemini Smith
5001c4f4fe
Change cmd setup to bubble up errors over exiting ( #454 )
...
* Change cmd setup to bubble up errors over exiting
* Update main to handle execute error
* Update changelog with PR #454
* Slight cleanup tweaks
2022-01-25 16:52:57 -07:00
Viacheslav Poturaev
30de46da25
Prepare changelog for release
2022-01-12 23:43:48 +01:00
Viacheslav Poturaev
9baac0fdfa
Allow suite-level configuration of steps and hooks ( #453 )
...
* Allow suite-level configuration of steps and hooks
* Fix a few typos
* Update CHANGELOG.md
* Add test
* Run scenario in same goroutine to preserve stack when concurrency is disabled
* Remove redundant check
2022-01-12 23:40:41 +01:00
Viacheslav Poturaev
a6fef3f171
Prepare v0.12.3 ( #451 )
2022-01-05 23:06:58 +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
Dmitry Savintsev
4d9b548d61
use 'go get' instead of 'go install' to install ( #449 )
2021-12-29 13:29:50 +01:00
Viacheslav Poturaev
b850b44b48
Invoke After Scenario hooks after After Step hooks ( #444 )
...
* Invoke After Scenario hooks after After Step hooks
* Update CHANGELOG.md
Co-authored-by: Matt Wynne <matt@cucumber.io>
2021-12-02 16:09:23 -08:00
Gemini Smith
82bcce7bdc
Add WSL friendly check-go-version setup ( #443 )
...
* Add WSL friendly check-go-version setup
* Add changelog entry and update my username
* Add PR link to changelog
* Stop it saying 'noting to be done for check-go-version'
* Update CHANGELOG.md
Co-authored-by: Viacheslav Poturaev <vearutop@gmail.com>
Co-authored-by: Matt Wynne <matt@cucumber.io>
Co-authored-by: Viacheslav Poturaev <vearutop@gmail.com>
2021-12-01 07:22:04 -08:00
Viacheslav Poturaev
86a56351ef
Fix compilation for non-modules ( #436 )
2021-10-14 19:25:30 +02:00
Viacheslav Poturaev
239a42468a
Update CHANGELOG for release
2021-08-27 00:11:57 +02:00
Viacheslav Poturaev
7d984effb3
Run before step hooks before matching ( #425 )
...
* Run before step hooks before matching
* Add note to CHANGELOG.md
Co-authored-by: nhatthm <nt@hellofresh.com>
2021-08-24 23:02:41 +02:00
Levi Noecker
c6c2a0885b
Export internal formatters ( #372 )
2021-08-10 11:27:17 +02:00
Viacheslav Poturaev
ad7feb3298
Add release notes and bump version ( #416 )
2021-08-09 08:51:27 +02:00
Viacheslav Poturaev
09d7d85abf
Fix execution of scenarios provided as a list of path:line ( #414 )
2021-08-07 22:37:31 +02:00
Viacheslav Poturaev
b1728ff551
Add new contextualized API for hooks and steps ( #409 )
...
* 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
2021-08-03 17:48:05 +02:00
Karsten Franke
7d343d4e35
Fix step definition output for Data Tables ( #411 )
...
* 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
2021-07-29 10:27:00 +02:00
Viacheslav Poturaev
cdbb0ac3f3
Update documentation
2021-07-22 20:56:26 +02:00
Matt Wynne
df8c6e49b4
Update CHANGELOG for #402
2021-07-05 12:26:06 -07:00
Fredrik Lönnblad
3589a9b1bf
Update CHANGELOG.md
2021-01-17 10:38:44 +01: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
74698e52fa
Created v0.11.0-rc2
2020-12-05 15:29:39 +01:00
Fredrik Lönnblad
e56f454291
Created release notes and changelog for v0.11.0
2020-10-19 19:02:10 +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
2cc5a5548a
Update CHANGELOG.md
2020-06-23 20:37:03 +02:00
Fredrik Lönnblad
9795588012
Updated CHANGELOG.md
2020-06-20 23:31:31 +02:00
Fredrik Lönnblad
84e064bd56
Update CHANGELOG.md
2020-05-23 09:11:49 +02:00
Fredrik Lönnblad
45e0973e60
Update CHANGELOG.md
2020-05-05 07:31:58 +02:00
Fredrik Lönnblad
700c90b3f0
Update CHANGELOG.md
2020-05-03 11:24:50 +02:00
Fredrik Lönnblad
075d624710
Added a missed test file and updated the CHANGELOG
2020-04-30 14:32:13 +02:00
Fredrik Lönnblad
68d94c03b8
Update CHANGELOG.md
2020-03-26 12:53:11 +01:00
Fredrik Lönnblad
5afad4dee9
Update CHANGELOG.md
2020-03-24 10:34:01 +01:00
Fredrik Lönnblad
d56cf10d0d
Update CHANGELOG.md
2020-03-23 13:16:17 +01:00
Fredrik Lönnblad
93abaf53bc
Update CHANGELOG.md
2020-03-23 13:06:48 +01:00
Fredrik Lönnblad
d5c7a25361
Update CHANGELOG.md
2020-03-22 17:31:40 +01:00