Viacheslav Poturaev
86a56351ef
Fix compilation for non-modules ( #436 )
2021-10-14 19:25:30 +02:00
Viacheslav Poturaev
afaebf26c1
Add go1.17 to CI tests ( #423 )
2021-08-17 11:29:12 +02:00
Viacheslav Poturaev
61730298a5
Add option to run scenarios as *testing.T subtests ( #419 )
2021-08-11 17:19:05 +02:00
Levi Noecker
c6c2a0885b
Export internal formatters ( #372 )
2021-08-10 11:27:17 +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
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
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
c6e9cd0e19
Revert return logic to restore previous behavior and pass the original test
2021-07-07 20:12:56 +02:00
Viacheslav Poturaev
f34f37dfd2
Upgrade MultiFormatter to use messages-go/v16
2021-07-07 19:47:46 +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
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
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
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
7014a10e2f
Fixed the undefined step definitions help ( #350 )
2020-10-14 08:39:14 +02:00
Fredrik Lönnblad
5e994943b3
Improved the help text of the formatter flag in the run command ( #347 )
...
* Improved the help text of the formatter flag in the run command
* Made some more changes to the help text for the run command
* made some small changes to the help text of the run and build cmd
2020-10-12 09:13:45 +02:00
Fredrik Lönnblad
66793de350
Merge pull request #321 from cucumber/new-flag-pkg
...
Added Cobra for the Command Line Interface
2020-10-08 18:35:06 +02:00
Fredrik Lönnblad
2fa3b9f08c
Moved StepDefinition to the formatters pkg
2020-07-11 10:49:36 +02:00
Fredrik Lönnblad
722d97bc48
Added Cobra for the Command Line Interface
2020-07-07 21:13:25 +02:00
Fredrik Lönnblad
813312606f
Moved the parser code to a new internal pkg
2020-07-05 18:40:56 +02:00
Fredrik Lönnblad
150c400163
Created internal packages for formatters, storage and models
2020-07-02 08:51:31 +02:00
Fredrik Lönnblad
99723f8220
Moved the builder code to a new internal pkg
2020-07-01 07:54:59 +02:00
Fredrik Lönnblad
e38c6ed719
Added an internal package for tags filtering
2020-06-30 22:52:50 +02:00