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

703 коммитов

Автор SHA1 Сообщение Дата
Matt Wynne
df294698f5
Update CONTRIBUTING.md 2021-11-17 08:50:20 -08:00
Matt Wynne
1532a1ceba
Allow some coverage drop in PRs too 2021-11-16 17:01:21 -08:00
Matt Wynne
07b9e82910
Try configuring codecov to allow a little bit of coverage drop (#442) 2021-11-16 16:54:43 -08:00
Matt Wynne
477135d2fe
Friendlier contributing guide (#439)
* Use a warmer tone in CONTRIBUTING guide and provide practical help with getting up and running.

* Update instructions to include golint so you can run `make`

* Update CONTRIBUTING.md

Co-authored-by: Aurélien Reeves <aurelien.reeves@smartbear.com>

* Update README.md

Co-authored-by: Aurélien Reeves <aurelien.reeves@smartbear.com>

* Update CONTRIBUTING.md

Co-authored-by: Viacheslav Poturaev <vearutop@gmail.com>

* Remove the need for golint installation instructions

Co-authored-by: Aurélien Reeves <aurelien.reeves@smartbear.com>
Co-authored-by: Viacheslav Poturaev <vearutop@gmail.com>
2021-11-17 00:38:57 +00:00
Viacheslav Poturaev
86a56351ef
Fix compilation for non-modules (#436) 2021-10-14 19:25:30 +02:00
Viacheslav Poturaev
239a42468a Update CHANGELOG for release 2021-08-27 00:11:57 +02:00
Viacheslav Poturaev
953acd5d90
Remove CircleCI tasks (#427) 2021-08-27 00:08:29 +02:00
Viacheslav Poturaev
dfe99eadf5
Run tests in GitHub Actions (#426) 2021-08-26 23:46:03 +02:00
Viacheslav Poturaev
7d984effb3
Run before step hooks before matching (#425)
* Run before step hooks before matching

* Add note to CHANGELOG.md

Co-authored-by: nhatthm <nt@hellofresh.com>
2021-08-24 23:02:41 +02:00
Viacheslav Poturaev
afaebf26c1
Add go1.17 to CI tests (#423) 2021-08-17 11:29:12 +02:00
Viacheslav Poturaev
d074262d59
Rename godog.Feature alias to godog.GherkinDocument to be more accurate (#422) 2021-08-17 10:53:53 +02:00
Viacheslav Poturaev
92ea38e7ce
Reduce dependency when implementing custom formatter with local alias (#421) 2021-08-15 21:59:39 +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
ad7feb3298
Add release notes and bump version (#416) 2021-08-09 08:51:27 +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
f1ca5dc00e
Add test case for DocString and Table suggestion rendering, closes #367 (#415) 2021-08-07 23:07:37 +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
Lorencz Aviale
6fb74a5334
Remove obsolete recommendation from README (#412)
Co-authored-by: Viacheslav Poturaev <vearutop@users.noreply.github.com>
2021-08-03 18:54:01 +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
Viacheslav Poturaev
15358d20e7
Merge pull request #364 from cucumber/allow_empty_return_step
feat(step_definition): Allows to define step function without return.
2021-07-22 20:59:48 +02:00
Viacheslav Poturaev
cdbb0ac3f3 Update documentation 2021-07-22 20:56:26 +02:00
Matt Wynne
48c0e0dd77
Merge pull request #276 from radtriste/issue_222
Added GetGherkinFeatures method to godog.Suite
2021-07-19 12:06:05 -07:00
Matt Wynne
17a562ca79
Merge pull request #407 from vearutop/rel-v0.11.0-main
Merge v0.11.0 release back to main to remove version lag
2021-07-19 10:57:23 -07:00
Viacheslav Poturaev
8860b17e67 Merge branch 'main' into rel-v0.11.0-main
# Conflicts:
#	CHANGELOG.md
#	README.md
2021-07-19 18:12:03 +02:00
radtriste
5566c15759 added GetFeatures method to godog.Suite 2021-07-13 15:00:52 +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
Matt Wynne
3de6fb09f3
Merge pull request #391 from cucumber/flag-to-pflag
remove renamed imports of pflag.
2021-07-12 23:14:48 -07:00
Viacheslav Poturaev
9a335aed22
Merge pull request #404 from vearutop/gofmt
Fix tests and CircleCI jobs
2021-07-09 16:18:16 +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
f42c85989f Fix home directory for cimg/go:1.16.5 CI image 2021-07-07 20:32:50 +02:00
Viacheslav Poturaev
8af91e50f6 Revert minimal Go version to 1.13 2021-07-07 20:22:32 +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
ee7ab9c52b Fix example build by pinning untagged version of godog 2021-07-07 19:48:47 +02:00
Viacheslav Poturaev
f34f37dfd2 Upgrade MultiFormatter to use messages-go/v16 2021-07-07 19:47:46 +02:00
Viacheslav Poturaev
d4c6c236b1 Apply gofmt to fix CircleCI jobs 2021-07-07 18:12:11 +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
Matt Wynne
df8c6e49b4
Update CHANGELOG for #402 2021-07-05 12:26:06 -07:00
Matt Wynne
7547f42e11
Merge pull request #402 from mbow/feature/update-cucumber-go-ver
update gherkin-go to v19.0.3
2021-07-05 12:18:06 -07: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
Rickard Englund
cdf3bfc099 removed renamed imports of pflag.
This was causing way to much investigating in order for me to find
That I've only copied parts of the examples resulting in "flag".Parse
instead of pflag.Parse()
2021-05-30 19:14:26 +02:00
Aslak Hellesøy
60e2e2f4df
Update README.md 2021-04-09 15:15:18 +01:00
Hiram Chirino
5ac22c454c feat: generate simpler snippets that use *godog.DocString and *godog.Table 2021-03-16 09:42:22 +01:00