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
8cf3f415b3
Add scenario hook errors to first and last steps ( #417 )
2021-08-08 22:42:41 +02:00
Viacheslav Poturaev
f1ca5dc00e
Add test case for DocString and Table suggestion rendering, closes #367 ( #415 )
2021-08-07 23:07:37 +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
Lorencz Aviale
6fb74a5334
Remove obsolete recommendation from README ( #412 )
...
Co-authored-by: Viacheslav Poturaev <vearutop@users.noreply.github.com>
2021-08-03 18:54:01 +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
15358d20e7
Merge pull request #364 from cucumber/allow_empty_return_step
...
feat(step_definition): Allows to define step function without return.
2021-07-22 20:59:48 +02:00
Viacheslav Poturaev
cdbb0ac3f3
Update documentation
2021-07-22 20:56:26 +02:00
Matt Wynne
48c0e0dd77
Merge pull request #276 from radtriste/issue_222
...
Added GetGherkinFeatures method to godog.Suite
2021-07-19 12:06:05 -07:00
Matt Wynne
17a562ca79
Merge pull request #407 from vearutop/rel-v0.11.0-main
...
Merge v0.11.0 release back to main to remove version lag
2021-07-19 10:57:23 -07:00
Viacheslav Poturaev
8860b17e67
Merge branch 'main' into rel-v0.11.0-main
...
# Conflicts:
# CHANGELOG.md
# README.md
2021-07-19 18:12:03 +02:00
radtriste
5566c15759
added GetFeatures method to godog.Suite
2021-07-13 15:00:52 +02:00
tfreville
63fd657a22
test: Add test for stepdef model
2021-07-13 10:35:45 +02:00
tfreville
fca39e4e89
test(convey): Add goconvey for test to ease test writting.
...
Add tests for panic in test_context initialization.
Made as independ commit so it can be rollbacked.
2021-07-13 10:34:25 +02:00
tfreville
fbed999ad8
feat(step_definition): Allows to define step function without return.
...
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.
2021-07-13 10:31:39 +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
9a335aed22
Merge pull request #404 from vearutop/gofmt
...
Fix tests and CircleCI jobs
2021-07-09 16:18:16 +02:00
Viacheslav Poturaev
885805bfd3
Remove parallel testing to avoid "go: updating go.mod: existing contents have changed since last read"
2021-07-07 21:06:13 +02:00
Viacheslav Poturaev
15ab3cd84f
Remove parallel testing to avoid "go: updating go.mod: existing contents have changed since last read"
2021-07-07 21:01:26 +02:00
Viacheslav Poturaev
bd397253a4
Run "go mod tidy" during build to comply with https://blog.golang.org/go116-module-changes#TOC_3 .
2021-07-07 20:45:51 +02:00
Viacheslav Poturaev
f42c85989f
Fix home directory for cimg/go:1.16.5 CI image
2021-07-07 20:32:50 +02:00
Viacheslav Poturaev
8af91e50f6
Revert minimal Go version to 1.13
2021-07-07 20:22:32 +02:00
Viacheslav Poturaev
c6e9cd0e19
Revert return logic to restore previous behavior and pass the original test
2021-07-07 20:12:56 +02:00
Viacheslav Poturaev
ee7ab9c52b
Fix example build by pinning untagged version of godog
2021-07-07 19:48:47 +02:00
Viacheslav Poturaev
f34f37dfd2
Upgrade MultiFormatter to use messages-go/v16
2021-07-07 19:47:46 +02:00
Viacheslav Poturaev
d4c6c236b1
Apply gofmt to fix CircleCI jobs
2021-07-07 18:12:11 +02:00
Aslak Hellesøy
7cadaeffdb
Merge pull request #392 from vearutop/multi
...
Use multiple formatters in the same test run
2021-07-07 16:32:58 +01:00
Matt Wynne
df8c6e49b4
Update CHANGELOG for #402
2021-07-05 12:26:06 -07:00
Matt Wynne
7547f42e11
Merge pull request #402 from mbow/feature/update-cucumber-go-ver
...
update gherkin-go to v19.0.3
2021-07-05 12:18:06 -07: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
Viacheslav Poturaev
707025de28
Add test for multi formatter
2021-05-30 22:32:34 +02:00
Viacheslav Poturaev
9d4b221f7a
Use multiple formatters in the same test run
2021-05-30 22:11:44 +02: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
Aslak Hellesøy
60e2e2f4df
Update README.md
2021-04-09 15:15:18 +01:00
Hiram Chirino
5ac22c454c
feat: generate simpler snippets that use *godog.DocString and *godog.Table
2021-03-16 09:42:22 +01:00
Hiram Chirino
2b6c9dc82e
feat: support auto converting doc strings to plain strings
2021-03-16 09:40:37 +01:00
Anton Ekberg
3bdc35e28e
Fix godog version command in issue template
2021-03-16 09:38:01 +01: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
2b426f8969
Removed rc references for the v0.11.0 release
2021-01-12 20:16:11 +01:00
Rickard Englund
2fc2995149
make pickleStepIDs unique accross multiple paths ( #366 )
...
* make pickleStepIDs unique accross multiple paths
* add test case for duplicate pickle ids
* go fmt
Co-authored-by: Rickard Englund <rickard.englund@skf.com>
2020-12-16 13:22:11 +01:00
Fredrik Lönnblad
adfc936dd7
Update README.md
2020-12-05 15:34:27 +01:00
Fredrik Lönnblad
74698e52fa
Created v0.11.0-rc2
2020-12-05 15:29:39 +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
69162a0d82
Removed go1.12 and added go1.15 to CI config ( #356 )
...
* Removed go1.12 and added go1.15 to CI config
* Updated release-notes
2020-11-26 11:43:42 +01:00
Fredrik Lönnblad
2f80d08545
Reverted "Create CODE_OF_CONDUCT.md" and added a Code of Conduct info to the README.md
...
This reverts commit 8ef630bed7
.
2020-10-23 12:54:59 +02:00
Fredrik Lönnblad
8ef630bed7
Create CODE_OF_CONDUCT.md
2020-10-21 17:13:30 +02:00
Fredrik Lönnblad
e56f454291
Created release notes and changelog for v0.11.0
2020-10-19 19:02:10 +02:00