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

674 коммитов

Автор SHA1 Сообщение Дата
Viacheslav Poturaev
cdbb0ac3f3 Update documentation 2021-07-22 20:56:26 +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
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
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
Hiram Chirino
2b6c9dc82e feat: support auto converting doc strings to plain strings 2021-03-16 09:40:37 +01:00
Anton Ekberg
3bdc35e28e Fix godog version command in issue template 2021-03-16 09:38:01 +01:00
Fredrik Lönnblad
3589a9b1bf
Update CHANGELOG.md 2021-01-17 10:38:44 +01:00
Fredrik Lönnblad
1548642333 Removed rc references for the v0.11.0 release 2021-01-12 20:21:21 +01:00
Rickard Englund
2fc2995149
make pickleStepIDs unique accross multiple paths (#366)
* make pickleStepIDs unique accross multiple paths

* add test case for duplicate pickle ids

* go fmt

Co-authored-by: Rickard Englund <rickard.englund@skf.com>
2020-12-16 13:22:11 +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
69162a0d82
Removed go1.12 and added go1.15 to CI config (#356)
* Removed go1.12 and added go1.15 to CI config

* Updated release-notes
2020-11-26 11:43:42 +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
8ef630bed7
Create CODE_OF_CONDUCT.md 2020-10-21 17:13:30 +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
d4c18852f0
Made a fix for the unstable Randomize Run tests (#354) 2020-10-14 10:39:01 +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
5e994943b3
Improved the help text of the formatter flag in the run command (#347)
* Improved the help text of the formatter flag in the run command

* Made some more changes to the help text for the run command

* made some small changes to the help text of the run and build cmd
2020-10-12 09:13:45 +02:00
Fredrik Lönnblad
66793de350
Merge pull request #321 from cucumber/new-flag-pkg
Added Cobra for the Command Line Interface
2020-10-08 18:35:06 +02:00
Fredrik Lönnblad
c99a04ca90
Merge pull request #333 from cucumber/upload-artifacts
Added make commands to create artifacts and upload them to a github release
2020-07-25 14:37:40 +02: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
Fredrik Lönnblad
daa36b6922
Merge pull request #332 from cucumber/moved-stepdef-to-the-public-formatters-pkg
Moved StepDefinition to the formatters pkg
2020-07-14 18:40:23 +02:00
Fredrik Lönnblad
2fa3b9f08c Moved StepDefinition to the formatters pkg 2020-07-11 10:49:36 +02:00
Fredrik Lönnblad
ce8036f79d
Merge pull request #331 from cucumber/write-output-to-file
--format junit:result.xml will now write to result.xml
2020-07-09 14:26:15 +02:00
Fredrik Lönnblad
d0991c8488 --format junit:result.xml will now write to result.xml 2020-07-08 23:08:49 +02:00
Fredrik Lönnblad
722d97bc48 Added Cobra for the Command Line Interface 2020-07-07 21:13:25 +02:00
Fredrik Lönnblad
e6223baaff
Merge pull request #330 from cucumber/custom-formatter-example
Created a simple example for a custom formatter
2020-07-07 17:26:12 +02:00