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

20 коммитов

Автор SHA1 Сообщение Дата
Softonik
6c3e2a2103 Добавлена поддержка focused-тестов во множестве feature-файлов 2022-08-22 22:04:02 +03: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
Levi Noecker
c6c2a0885b
Export internal formatters (#372) 2021-08-10 11:27:17 +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
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
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
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
e38c6ed719 Added an internal package for tags filtering 2020-06-30 22:52:50 +02:00
Fredrik Lönnblad
dbd8cdf723 Removed deprecated code 2020-06-27 19:13:38 +02:00
Fredrik Lönnblad
0ef3d6d5e1 Deprecated SuiteContext and ConcurrentFormatter 2020-06-20 23:18:24 +02:00
Fredrik Lönnblad
39940f55bc Added support for concurrent scenarios 2020-06-14 19:21:01 +02:00
Fredrik Lönnblad
b717039e16 Refactored some states in the formatters and feature struct 2020-06-14 09:49:22 +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
6b2e72016b Copied the SuiteContext for testing of TestSuite{}.Run() 2020-06-06 16:12:19 +02:00