* 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>
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
* Update README to reflect current best practices in creating and running tests
* Update CHANGELOG and README
Co-authored-by: Matt Wynne <matt@cucumber.io>
* 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
* 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>
* 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
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()