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

129 коммитов

Автор SHA1 Сообщение Дата
Softonik
eff1e7e3c6 Чистка 2025-06-01 02:40:05 +03:00
M.P. Korstanje
6e4f452389
Replace more slack with discord
See:
- https://github.com/cucumber/common/issues/2195
- https://github.com/orgs/cucumber/discussions/2197
2024-08-09 16:58:01 +02:00
M.P. Korstanje
9b51734429
Replace slack with discord
See:
- https://github.com/cucumber/common/issues/2195
- https://github.com/orgs/cucumber/discussions/2197
2024-08-09 16:51:01 +02:00
John Lonergan
9558224cce
Additional code review observations on Attach() functionality from https://github.com/cucumber/godog/pull/623 (#628)
* support multiple calls to the Attach() function from a single step

* run_progress_test.go changed so it's not sensitive to the name of the clone target directory

* applied code review comments also added _example/attachments

* applied code review comments also added _example/attachments

* applied code review comments also added _example/attachments
2024-05-30 02:29:14 +00:00
John Lonergan
201e526078
added support for Attachments (aka Embedddings) (#623)
* added support for attachments in the cucumber json and events output formats - done by sneaking the attachment into the context.Context object.
2024-05-29 00:02:08 +01:00
Mark Hughes
7017c73ef8
Provide a useful implementation of something compatible with testing.T (#571)
* Attempting to provide a useful implementation of something compatible with testing.T

* Handle Fail calls on the TestingT in the right place

* Provide as much of testing.T as possible + tidy up

* Add initial tests for testingT support

* Check compatibility with testing.T and friends

Co-authored-by: Piotr Bocheński <bochenski.piotr@gmail.com>

* Update assert-godogs example to show new usage. Rename 'GetTestingT(ctx)' to 'T(ctx)'

* Update changelog and readme with new usage

* Improve test coverage

* Review updates

---------

Co-authored-by: Piotr Bocheński <bochenski.piotr@gmail.com>
2024-04-29 10:26:25 +02:00
Glib Briia
27ad3c245e
Create releasing guidelines (#608) 2024-02-06 14:19:51 +00: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
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
Viacheslav Poturaev
99655f7e7e
Update README to reflect current best practices in creating and running tests (#477)
* Update README to reflect current best practices in creating and running tests

* Update CHANGELOG and README

Co-authored-by: Matt Wynne <matt@cucumber.io>
2022-05-21 08:21:41 +02:00
Matt Wynne
237a855127
Replace #StandWithUkraine banner with badge (#470)
As decided at today's community meeting.
2022-04-15 07:59:09 -07:00
Aslak Hellesøy
4f2140a09a
Add Stand With Ukraine badge
See https://github.com/cucumber/cucumber-js/issues/1961
2022-03-31 15:43:06 +01: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
Dmitry Savintsev
4d9b548d61
use 'go get' instead of 'go install' to install (#449) 2021-12-29 13:29:50 +01: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
953acd5d90
Remove CircleCI tasks (#427) 2021-08-27 00:08:29 +02:00
Viacheslav Poturaev
61730298a5
Add option to run scenarios as *testing.T subtests (#419) 2021-08-11 17:19:05 +02:00
Viacheslav Poturaev
ad7feb3298
Add release notes and bump version (#416) 2021-08-09 08:51:27 +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
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
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
Fredrik Lönnblad
1548642333 Removed rc references for the v0.11.0 release 2021-01-12 20:21:21 +01:00
Fredrik Lönnblad
adfc936dd7
Update README.md 2020-12-05 15:34:27 +01:00
Fredrik Lönnblad
74698e52fa Created v0.11.0-rc2 2020-12-05 15:29:39 +01:00
Fredrik Lönnblad
59cd5d8e3f
Fixed an issue when go test is parsing command-line flags (#359)
* Fixed an issue when go test is parsing command-line flags

* Added some extra information for parsing flags to the README.md
2020-11-26 13:47:47 +01:00
Fredrik Lönnblad
2f80d08545 Reverted "Create CODE_OF_CONDUCT.md" and added a Code of Conduct info to the README.md
This reverts commit 8ef630bed7.
2020-10-23 12:54:59 +02:00
Fredrik Lönnblad
e56f454291 Created release notes and changelog for v0.11.0 2020-10-19 19:02:10 +02:00
Fredrik Lönnblad
c4aea2e999
Update README.md 2020-10-14 11:03:29 +02:00
Fredrik Lönnblad
d4190b06d8
Added a comment regarding running the examples within the $GOPATH (#352)
* Added a comment regarding running the examples within the GOPATH

* Update README.md
2020-10-14 09:57:06 +02:00
Fredrik Lönnblad
7014a10e2f
Fixed the undefined step definitions help (#350) 2020-10-14 08:39:14 +02:00
Hans van den Bogert
027a1abf0e
Pdoc(FAQ/TestMain): testing.M.Run() is optional (#353) 2020-10-14 07:30:45 +02:00
Fredrik Lönnblad
ae808ea89b
Removed $GOPATH from the README.md and updated the example (#349)
* Removed /Users/fredrik/Projects/go from the README.md and updated the example

* made some more improvements
2020-10-12 09:14:14 +02:00
Fredrik Lönnblad
722d97bc48 Added Cobra for the Command Line Interface 2020-07-07 21:13:25 +02:00
Fredrik Lönnblad
6d3da7a27b Created a simple example for a custom formatter 2020-07-07 07:54:27 +02:00
Fredrik Lönnblad
51a387469c v0.10.0 release 2020-06-25 08:58:03 +02:00
Fredrik Lönnblad
fc084134a0 Wrote Release Notes, updated CHANGELOG.md and versions in README.md and godog version const 2020-06-23 20:42:48 +02:00
Fredrik Lönnblad
0bd3a0e729 Updated the README.md 2020-06-10 21:24:54 +02:00
Fredrik Lönnblad
d0a345e507
Update README.md 2020-05-25 09:19:29 +02:00
Fredrik Lönnblad
13acd2d219 Readded some legacy doc for FeatureContext 2020-05-23 08:51:23 +02:00
Fredrik Lönnblad
e6227a2e0f Added the new TestSuiteInitializer and ScenarioInitializer 2020-05-18 09:48:06 +02:00
Fredrik Lönnblad
d0a28b5a94 Updated linting checks in circleci config and fixed linting issues 2020-05-03 12:09:51 +02:00
Fredrik Lönnblad
bfee72ddec Added an example for how to use assertion pkgs like testify with godog 2020-05-02 18:52:19 +02:00
Jayson Smith
64ede2d482
Update README.md 2020-04-14 23:58:05 -07:00
Fredrik Lönnblad
ec88ee5226 Fixed final release doc for v0.9.0 2020-03-22 18:08:17 +01:00
Fredrik Lönnblad
315f9e96d8 Created release candidate 2 2020-03-16 08:10:04 -03:00