Viacheslav Poturaev
8cf3f415b3
Add scenario hook errors to first and last steps ( #417 )
2021-08-08 22:42:41 +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
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
8af91e50f6
Revert minimal Go version to 1.13
2021-07-07 20:22:32 +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
Hiram Chirino
2b6c9dc82e
feat: support auto converting doc strings to plain strings
2021-03-16 09:40:37 +01:00
Fredrik Lönnblad
d4c18852f0
Made a fix for the unstable Randomize Run tests ( #354 )
2020-10-14 10:39:01 +02:00
Fredrik Lönnblad
d0991c8488
--format junit:result.xml will now write to result.xml
2020-07-08 23:08:49 +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
dbd8cdf723
Removed deprecated code
2020-06-27 19:13:38 +02:00
Fredrik Lönnblad
376280cfc6
Fixed the broken --random flag
2020-06-21 14:43:15 +02:00
Fredrik Lönnblad
39940f55bc
Added support for concurrent scenarios
2020-06-14 19:21:01 +02:00
Fredrik Lönnblad
25b1915272
Broke out some code from massive files into new files
2020-06-13 09:20:06 +02:00
Fredrik Lönnblad
b1a69ae142
Added features to the in-mem storage
2020-06-13 06:45:14 +02:00
Fredrik Lönnblad
4356addf9f
Added an in-mem storage for pickles
2020-06-09 13:30:32 +02:00
Fredrik Lönnblad
6b2e72016b
Copied the SuiteContext for testing of TestSuite{}.Run()
2020-06-06 16:12:19 +02:00
Fredrik Lönnblad
edfd2a1c3a
Updated so that we run all tests concurrent now
2020-03-26 12:40:15 +01:00
Fredrik Lönnblad
d6f491a3dc
Added concurrency support to the cucumber formatter
2020-03-26 12:18:01 +01:00
Fredrik Lönnblad
172b91ea58
Added concurrency support to the events formatter
2020-03-26 12:11:45 +01:00
Fredrik Lönnblad
2deda99861
Added concurrency support to the pretty formatter
2020-03-26 11:56:28 +01:00
Fredrik Lönnblad
11f28803ec
Added comparison between single and multi threaded runs
2020-03-24 12:01:58 +01: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
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
Fredrik Lönnblad
11ac07ea24
Added gherkin verification of the JUnit formatter
2020-02-11 18:55:36 -03:00
Fredrik Lönnblad
de8b0f071b
Added features/formatter/pretty.feature
2020-02-11 08:14:46 -03:00
Fredrik Lönnblad
321e28ab50
Added an extra fixture for cucumber output when go1.11
2020-02-08 15:22:36 -03:00
Fredrik Lönnblad
824c4310b7
Added a skip for the run tests of cucumber in go1.11.*
2020-02-08 11:59:18 -03:00
Fredrik Lönnblad
680d2683cc
Added a fixtures folder for expected test output
2020-02-07 19:20:33 -03:00
Fredrik Lönnblad
ee9f3f0a52
Added run tests for Cucumber
2020-02-07 16:48:40 -03:00
Jayson Smith
b9b8a8cd4f
Change data-dog/godog references to cucumber/godog
...
* update makefile
2020-02-06 08:38:28 -07:00
Fredrik Lönnblad
46ec5fdb90
a try to make the Junit test to pass on older go versions
2020-01-20 15:51:32 -03:00
Fredrik Lönnblad
10ac7158d1
Fixed another time calc issue and added a Junit Concurrency run test
2020-01-20 15:23:02 -03:00
Fredrik Lönnblad
32feb1d1cc
Added testcase for Junit in concurrent mode
2020-01-20 14:55:27 -03:00
funvit
652eedf03a
fix for progress printing with concurrency mode
2019-09-02 21:58:26 +03:00
gedi
ee4ee478e2
closes #160
2019-02-27 14:42:24 +02:00
hgouchet
2604810f50
errcheck + unused
2018-09-29 13:12:16 +02:00
gedi
4dc98b0e2b
closes #96
2017-08-31 16:20:30 +03:00
gedi
92fbee719c
tests suite execution function and related errors
2017-05-05 11:04:54 +03:00
gedi
a3338b5849
adds --strict flag to fail suite when there are pending or undefined steps
2017-05-04 20:25:29 +03:00
gedi
e4ed3b9a9c
handles undefined step templates for nested steps
2017-04-29 22:56:28 +03:00
gedi
d5a7e38a81
tests printing step definitions and stacktrace formatting
2017-04-28 09:46:17 +03:00