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

21 коммит

Автор SHA1 Сообщение Дата
Carl Menezes
c95871f3ce
Switch from golint to staticcheck (#457)
* Switch from golint to staticcheck

* Remove unused function

run_test.go:618:6: func passingStepDefWithoutReturn is unused (U1000)

* Remove unused function

suite.go:421:6: func isEmptyFeature is unused (U1000)

* Fix unnecessary use of fmt.Sprintf

test_context_test.go:45:66: unnecessary use of fmt.Sprintf (S1039)
test_context_test.go:46:61: unnecessary use of fmt.Sprintf (S1039)

* Fix CI error

https://github.com/cucumber/godog/runs/5146601108?check_suite_focus=true#step:7:28

* Change CI to run staticcheck instead of golint

* Use staticcheck that definitely pass

* Fix CI staticcheck error

https://github.com/cucumber/godog/runs/5147133955?check_suite_focus=true#step:6:17

* Only run staticcheck for Go 1.17

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

* Add staticcheck linux binary

* Update Go module dependencies in _examples

* Use static check binary in bin for CI

* Reduce number of dependencies

Also add a note to CONTRIBUTING.md about the _examples module

* Pin the version of staticcheck

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

Co-authored-by: Matt Wynne <matt@cucumber.io>
Co-authored-by: Viacheslav Poturaev <nanopeni@gmail.com>
2022-02-15 13:37:27 -08:00
Matt Wynne
1c91e6f9ea
Make sure make test runs all tests
Fixes #458
2022-02-14 09:51:17 -08:00
Viacheslav Poturaev
95278dfd39
Automate binary releases (#437)
* Add release assets automation

* Use single module with local replace for examples

* Update CHANGELOG.md

* Allow expected failure for custom formatter example test

* Set version value with ldflags

* Restore artifacts cleanup
2022-01-05 23:00:29 +01:00
Gemini Smith
82bcce7bdc
Add WSL friendly check-go-version setup (#443)
* Add WSL friendly check-go-version setup

* Add changelog entry and update my username

* Add PR link to changelog

* Stop it saying 'noting to be done for check-go-version'

* Update CHANGELOG.md

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

Co-authored-by: Matt Wynne <matt@cucumber.io>
Co-authored-by: Viacheslav Poturaev <vearutop@gmail.com>
2021-12-01 07:22:04 -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
Fredrik Lönnblad
41ff4b4a16 Added make commands to create artifacts and upload them to a github release 2020-07-18 13:18:20 +02:00
Andrew Wilkins
22a08a545d
Rename examples to _examples
Rename the examples so that their dependencies
don't leak into the main module.
2020-02-10 09:31:52 +08:00
Jayson Smith
b9b8a8cd4f Change data-dog/godog references to cucumber/godog
* update makefile
2020-02-06 08:38:28 -07:00
gedi
f3b7331cea
updates documentation in README 2017-04-30 20:20:00 +03:00
gedi
83675453b7
runs tests with randomized scenario order, adds verbose mode 2017-04-27 17:43:00 +03:00
gedi
f9eab9da27 matched step func name and reference in pretty printer 2016-05-28 20:20:17 +03:00
gedi
518101cbc7 ship gherkin parser in a subpackage to prevent compatibility conflicts 2016-05-27 09:23:09 +03:00
gedi
b669223afd BC break was introduced in gherkin-go master, use gopkg.in for explicit version 2016-03-02 15:28:04 +02:00
gedi
970eddc16a refactor suite runner to support concurrent model
* ef86715 add a concurrency flag
* 8674a58 run suite concurrently, closes #3
2015-07-03 15:54:26 +03:00
gedi
46f5218d36 update examples/db to pass golint 2015-07-03 10:44:25 +03:00
gedi
3ec64f42c9 run go tests only in root package 2015-07-02 16:42:56 +03:00
gedi
e99804d43f add a database interaction example 2015-07-02 16:18:04 +03:00
gedi
3b529178f3 fixed merged imports, was not including sql drivers for example 2015-07-02 11:09:58 +03:00
gedi
5829b59e80 improve scenario outline tests and behavior 2015-06-30 14:36:38 +03:00
gedi
c6d00dd6d5 refactor to use cocumber gherkin3 parser library
* bdde4c4 fix test suite and migration changes
* a3b6e01 refactor pretty formatter
* 2c0c7ba fix outline scenario handling
* f6b411d add a different language test feature

add a different language test feature
2015-06-25 21:19:02 +03:00
gedi
7b805b1ee7 add makefile for some convenient commands 2015-06-25 10:23:20 +03:00