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

829 коммитов

Автор SHA1 Сообщение Дата
Viacheslav Poturaev
888fe3f294
Improve ErrSkip handling, add test for Summary and operations order (#584) 2023-10-29 22:59:14 +01:00
Kirubel Adamu
25274b0291
updated base formatter to set a scenario as passed unless there exist… (#582) 2023-10-27 19:28:41 +02:00
Viacheslav Poturaev
c61a93931d
Update test.yml (#583) 2023-10-24 00:11:29 +02:00
renovate[bot]
76039dc0d2
chore(deps): update codecov/codecov-action action to v4 (#576)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-09-14 19:05:33 +02:00
renovate[bot]
4550862450
chore(deps): update actions/checkout action to v4 (#575)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-09-07 18:56:06 +02:00
renovate[bot]
a37ff90667
fix(deps): update module github.com/cucumber/godog to v0.13.0 (#574)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-08-23 20:45:17 +00:00
Viacheslav Poturaev
6b96d47e70 Prepare CHANGELOG.md for new release 2023-08-22 14:31:19 +02:00
Viacheslav Poturaev
d3aec7142e
Improve example with concurrency support (#573) 2023-08-22 14:21:34 +02:00
Yury Yurochko
75d5cab90d
fix(examples): update api example (#532) 2023-08-17 11:23:10 +02:00
Viacheslav Poturaev
3e0f9026f3
Improve hooks invocation flow (#568) 2023-07-13 09:31:56 +02:00
Viacheslav Poturaev
51d164ff57 Print verbose error to enable traces 2023-07-07 18:16:21 +02:00
Longyue Li
72db47c519
refactor: test_context.go (#564)
* 1. ScenarioContext has methods on both value and pointer receivers, make all methods have value receivers.
2. fix the syntax error in the comment
3. remove unused function Build

Signed-off-by: longyue0521 <longyueli0521@gmail.com>

* convert ctx (type ScenarioContext) to StepContext

Signed-off-by: longyue0521 <longyueli0521@gmail.com>

* rollback the deleted Build function

Signed-off-by: longyue0521 <longyueli0521@gmail.com>

---------

Signed-off-by: longyue0521 <longyueli0521@gmail.com>
2023-06-07 11:37:46 +02:00
Viacheslav Poturaev
ea50e4bdfc
Use staticcheck GitHub Action (#563) 2023-06-06 16:52:06 +02:00
Viacheslav Poturaev
7f75c5d4ee Remove redundant return 2023-05-26 16:43:48 +02:00
Viacheslav Poturaev
35820ff9fe Reduce deps, fix CI for go1.16, format imports 2023-05-26 16:38:51 +02:00
Viacheslav Poturaev
3eae6c0437 Update dependencies 2023-05-26 14:57:29 +02:00
Viacheslav Poturaev
561cb85371 Add test for context cancellation 2023-04-04 01:30:19 +02:00
Dragan Milic
0dcbfef9be
cancel context for each scenario (#514)
* fix(deps): update module github.com/cucumber/gherkin/go/v26 to v26.1.0 (#549)

* Update CI for go1.20 (#552)

* fix(deps): update module github.com/cucumber/gherkin/go/v26 to v26.1.0

* Tidy modules

---------

Co-authored-by: Viacheslav Poturaev <vearutop@gmail.com>
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* cancel context for each scenario

* Update suite.go

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Viacheslav Poturaev <vearutop@gmail.com>
Co-authored-by: Viacheslav Poturaev <nanopeni@gmail.com>
2023-04-04 01:28:03 +02:00
renovate[bot]
472ea2735d
fix(deps): update module github.com/cucumber/gherkin/go/v26 to v26.1.0 (#549)
* Update CI for go1.20 (#552)

* fix(deps): update module github.com/cucumber/gherkin/go/v26 to v26.1.0

* Tidy modules

---------

Co-authored-by: Viacheslav Poturaev <vearutop@gmail.com>
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-04-04 00:43:31 +02:00
Viacheslav Poturaev
aba6a689a4
Update CI for go1.20 (#552) 2023-04-04 00:11:09 +02:00
Tomohiko Himura
dc8c9c4378
Result of testing.T respect strict option (#539)
* test: testing.T.Failed should be false when strict is false and has pending steps

* fix: testing.T respect strict option
2023-04-03 16:05:05 +02:00
Tighearnán Carroll
6ce2b8696b
Use fs.FS abstraction for filesystem (#550)
* compiles

* mock fs in tests

* fix parser tests

* fix run.go

* rename FeatureFS to FS

* fix docs typos

* remove debug log

* add os.DirFS("./") to default options

* reword docstring

* add fs wrapper

* updated readme and changelog

* added note

* fix changelog

* remove ./ gating from defaults

* add new storage.FS tests

* increase coverage of parser.parsePath

* increase coverage of TestSuite.RetrieveFeatures

* remove another os.Stat

---------

Co-authored-by: Tighearnán Carroll <tighearnan.carroll@gamil.com>
2023-03-27 21:52:51 +02:00
Daniel Helfand
3bd9e9ca4f
docs: prefer go test to use of godog cli in README (#548) 2023-03-24 09:19:12 +01:00
renovate[bot]
17f07d243a
chore(deps): update actions/setup-go action to v4 (#546)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-03-16 21:43:51 +01:00
renovate[bot]
bcffb1c829
fix(deps): update module github.com/stretchr/testify to v1.8.2 (#541)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-02-26 18:49:40 +00:00
renovate[bot]
d4d18646f6
fix(deps): update module github.com/data-dog/go-txdb to v0.1.6 (#540)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-02-24 21:49:25 +00:00
Alexandru Chitu
5368ee0229
docs(*): correct example (#538)
* docs(*): correct example

* docs(*): reorder step declarations
2023-02-21 11:52:24 +00:00
Alexandru Chitu
62d84eedbc
Implement unambiguous keywords (#509)
feat(*): create keyword functions

* chore(*): update messages and gherkin, relocate Keyword

* chore(*): update messages and gherkin, relocate Keyword

* chore(*): update messages and gherkin, relocate Keyword

* feat(*): mandate keyword type when unambiguous keyword function is used

* test(*): keyword type in feature files

* docs(*): update step-by-step walkthrough to mention the option of using keyword functions

* docs(*): update CHANGELOG.md

* test(*): keyword substeps

* chore(*): go mod
2023-01-23 14:22:19 +00:00
M.P. Korstanje
c035051d94
Setup Renovate with default Configs (#531) 2023-01-08 17:53:57 +01:00
renovate[bot]
0892aced88
fix(deps): update module github.com/smartystreets/goconvey to v1.7.2 (#525)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: M.P. Korstanje <rien.korstanje@gmail.com>
2023-01-08 16:47:14 +00:00
renovate[bot]
0fd767543f
fix(deps): update module github.com/spf13/cobra to v1.6.1 (#526)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: M.P. Korstanje <rien.korstanje@gmail.com>
2023-01-08 17:41:08 +01:00
renovate[bot]
2e91c32e91
fix(deps): update module github.com/hashicorp/go-memdb to v1.3.4 (#523)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: M.P. Korstanje <rien.korstanje@gmail.com>
2023-01-08 17:36:50 +01:00
renovate[bot]
70b4f7fecb
fix(deps): update module github.com/go-sql-driver/mysql to v1.7.0 (#524)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-01-08 17:30:54 +01:00
renovate[bot]
3918bda77b
fix(deps): update module github.com/data-dog/go-txdb to v0.1.5 (#522)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-01-08 17:30:19 +01:00
renovate[bot]
8cd8a8014a
fix(deps): update module github.com/cucumber/gherkin/go/v26 to v26.0.3 (#519)
* fix(deps): update module github.com/cucumber/gherkin/go/v26 to v26.0.3

* Clean up

* Clean up

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: M.P. Korstanje <rien.korstanje@gmail.com>
2023-01-08 17:27:21 +01:00
renovate[bot]
714af882bf
chore(deps): update actions/cache action to v3 (#527)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-01-08 17:27:04 +01:00
renovate[bot]
fca3075757
chore(deps): update actions/setup-go action to v3 (#529)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-01-08 17:26:53 +01:00
renovate[bot]
48af591c17
chore(deps): update actions/checkout action to v3 (#528)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-01-08 16:26:09 +00:00
renovate[bot]
63d4b1be52
chore(deps): update codecov/codecov-action action to v3 (#530)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-01-08 17:24:53 +01:00
renovate[bot]
802c8978a2
fix(deps): update module github.com/cucumber/godog to v0.12.6 (#520)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-01-08 17:20:37 +01:00
renovate[bot]
d7e1e95c04
Add renovate.json (#512)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-01-08 17:10:16 +01:00
Alexandru Chitu
2264a0037b
chore(*): BREAKING CHANGE, use new repos for cucumber and messages (#515)
* chore(*): use new repos for cucumber and messages

* chore(*): go mod tidy _examples

Co-authored-by: otrava7 <alexandru.chit@gmail.com>
2023-01-05 12:41:56 +01:00
Viacheslav Poturaev
9007f1f26d
Update CHANGELOG.md for release v0.12.6 (#516) 2023-01-05 11:00:23 +01:00
Viacheslav Poturaev
c35ea0b236
Remove deprecation from flags, update example to use CLI flags (#498)
* Remove deprecation from flags, update example to use CLI flags

* Add comment to ShowHelp option

* Fix test

* Update CHANGELOG.md
2022-08-31 10:17:00 +02:00
Viacheslav Poturaev
202882807b
Skip undefined steps in after scenario hooks (#494) 2022-08-16 09:37:33 +02:00
Viacheslav Poturaev
fd5b6a1034
Add gorelease GitHub Action task (#493)
* Add gorelease GitHub Action task

* Update .github/workflows/gorelease.yml

Co-authored-by: Nhat <thmnhat@gmail.com>

Co-authored-by: Nhat <thmnhat@gmail.com>
2022-08-09 16:43:20 +02:00
Viacheslav Poturaev
6f3e792c52
Add deprecation notice to godog CLI (#489)
* Add deprecation notice to godog CLI

* Update CHANGELOG
2022-07-31 15:38:05 +02:00
Aaron Kaswen-Wilk
d45a9aaaa3
add new option for created features with parsing from byte slices (#476) 2022-07-26 15:36:23 +02:00
Wichert Akkerman
b2672bb933
Do not discard context from substeps (#488) 2022-07-25 13:43:36 +02:00
Packet Please
5e176da433
Fix green copypasta (#484) 2022-07-05 08:19:37 +02:00