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

101 коммит

Автор SHA1 Сообщение Дата
Viacheslav Poturaev
8cf3f415b3
Add scenario hook errors to first and last steps (#417) 2021-08-08 22:42:41 +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
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
Fredrik Lönnblad
2fa3b9f08c Moved StepDefinition to the formatters pkg 2020-07-11 10:49:36 +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
1d724e2107 Removed the deprecated feature hooks 2020-06-20 20:06:30 +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
cd7663fccf Added Pickle and PickleStep results to the in-mem storage 2020-06-10 21:45:23 +02:00
Fredrik Lönnblad
4356addf9f Added an in-mem storage for pickles 2020-06-09 13:30:32 +02:00
Fredrik Lönnblad
df3ce739e8 Unexported some exported properties in unexported structs 2020-06-07 15:22:50 +02:00
Fredrik Lönnblad
c5a0a58123 Broke out the tag filtering logic to its own file 2020-06-07 09:10:56 +02:00
Fredrik Lönnblad
e6227a2e0f Added the new TestSuiteInitializer and ScenarioInitializer 2020-05-18 09:48:06 +02:00
Fredrik Lönnblad
0c864f1400 Fixed issue with empty feature file causing nil pointer deref 2020-04-30 11:15:40 +02:00
Fredrik Lönnblad
d6f491a3dc Added concurrency support to the cucumber formatter 2020-03-26 12:18:01 +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
9c2d83a29a Merge branch 'release/v0.9.0' into release/v0.9.0-rc1 2020-03-09 15:07:49 -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
bc57207416 Added deprecation notice for the feature hooks 2020-03-09 13:53:16 -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
754a7a9a3f Renamed newIdFunc to newIDFunc 2020-03-05 07:54:29 -03:00
Fredrik Lönnblad
f9d367ce1b Fixed an issue when running multiple features 2020-02-29 20:22:00 -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
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
21c17cb74b Fixed a bad merge 2020-01-20 14:29:52 -03:00
Fredrik Lönnblad
6f6ffc597a Fixed an issue when executing empty Features or Scenarios 2020-01-20 14:24:18 -03:00
Fredrik Lönnblad
1a762a8938 Refactored basfmt and junitFormatter to support concurrency 2020-01-19 11:10:53 -03:00
Kumar Harsh
7a1b9ad5a9 fix(output): use bold-black for muted texts
Closes #121
2019-05-29 17:13:14 +05:30
gedi
338a78050c
closes #170 2019-04-12 11:21:33 +03:00
gedi
ee4ee478e2
closes #160 2019-02-27 14:42:24 +02:00
gedi
029c7ad8c6
run before step handlers, before matching step, closes #147 2018-12-19 14:40:28 +02:00
hgouchet
2604810f50 errcheck + unused 2018-09-29 13:12:16 +02:00
hgouchet
5bd9dce5d6 lint + unused 2018-09-29 00:10:55 +02:00
gedi
5c352074bc
support for tags in outline examples, closes #133 2018-09-28 16:17:13 +03:00
gedi
272624afcc
do not fire events when feature or scenario is empty 2017-10-26 14:14:34 +03:00
gedi
df188464c6
properly filters features by line and tags given 2017-10-24 16:02:18 +03:00
gedi
0b4523c009
closes #98 2017-08-31 10:31:25 +03:00
gedi
db3c6246b8
closes #97 2017-08-31 09:30:17 +03:00
gedi
70f777599d
closes #92 2017-07-02 19:22:23 +03:00
gedi
e82f88d590
closes #90 2017-06-22 13:23:56 +03:00
gedi
aac216500e
nested multi line steps with table or content body argument #89 2017-06-09 11:42:28 +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
f87d99d0aa
fixes a bug, when there are undefined steps after failing step #80 2017-05-04 11:02:01 +03:00
gedi
e4ed3b9a9c
handles undefined step templates for nested steps 2017-04-29 22:56:28 +03:00
gedi
5bfd57218a
adds more tests for multistep execution 2017-04-29 00:13:14 +03:00
gedi
703b40de76
adds scenarios to test nested steps 2017-04-28 22:04:49 +03:00