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

46 коммитов

Автор SHA1 Сообщение Дата
Softonik
f6ed69097f Модуль переименован для публикации
Некоторые проверки провалились
test / test (1.16.x) (push) Has been cancelled
test / test (1.17.x) (push) Has been cancelled
2025-04-03 05:36:58 +03:00
James Cooper
d52a4d3f4d
Fix version subcommand. Do not print usage if run subcommand fails. (#475)
* Fix version subcommand. Do not print usage if run subcommand fails.

* Remove newline to clean up PR diff
2022-05-20 14:18:09 +02:00
Gemini Smith
5001c4f4fe
Change cmd setup to bubble up errors over exiting (#454)
* Change cmd setup to bubble up errors over exiting

* Update main to handle execute error

* Update changelog with PR #454

* Slight cleanup tweaks
2022-01-25 16:52:57 -07: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
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
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
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
722d97bc48 Added Cobra for the Command Line Interface 2020-07-07 21:13:25 +02:00
Fredrik Lönnblad
99723f8220 Moved the builder code to a new internal pkg 2020-07-01 07:54:59 +02:00
Jayson Smith
b9b8a8cd4f Change data-dog/godog references to cucumber/godog
* update makefile
2020-02-06 08:38:28 -07:00
hgouchet
6943e03b65 lint + unused 2018-09-29 00:14:45 +02:00
hgouchet
5bd9dce5d6 lint + unused 2018-09-29 00:10:55 +02:00
Alexandre Wilhelm
a4f199f35f Fixed: assigned os.Stdin to cmd.Stdin when launching godog 2017-01-05 10:25:55 -08:00
gedi
2e189ad0f9 use Options in FlagSet 2016-11-22 21:12:18 +02:00
gedi
115923c97f refactor colorization into the separate package 2016-10-30 22:33:37 +02:00
gedi
49e59d9296 add method to allow running from go source, without flags, see #50 2016-10-28 17:48:39 +03:00
gedi
eac32e6f48 reorganize the output binary command -o 2016-10-28 17:16:05 +03:00
Ed Harper
9264cba300 Add the ability to keep the executable - reflecting **go build -o dest** and skipping execution (as suggested by Gediminas Morkevicius). 2016-10-28 16:47:35 +03:00
gedi
d0f68b3fe1 requires context with capital now, will need a migration 2016-06-14 09:27:09 +03:00
gedi
0289b3f133 compile test package and godog suite with go tools 2016-06-14 09:27:09 +03:00
Robert Stern
89c17f1376 Fixing variable names in ansicolor to enable windows build 2016-06-11 08:00:23 +02:00
gedi
9cc301f701 no-colors flag to disable ansi colors, closes #36 2016-06-08 21:38:47 +03:00
gedi
9bde6a2b9b parse flags in runner command, to be able to show version or help, closes #34 2016-06-01 13:51:29 +03:00
gedi
f9fab51a1a fixes bug when there is more than one context registered, closes #32 2016-05-27 14:55:58 +03:00
gedi
518101cbc7 ship gherkin parser in a subpackage to prevent compatibility conflicts 2016-05-27 09:23:09 +03:00
gedi
320a5612c1 bump version, update error handling on main command 2016-05-25 14:28:00 +03:00
gedi
198755476d use standard go build package to create a godog test suite
* 1d6c8ac finish refactoring to support standard way of building test package
2016-05-24 23:51:33 +03:00
gedi
936fd6dadc build test binary instead of single file to execute, use TestMain 2016-05-22 23:27:45 +03:00
gedi
60f8b3340e should close #25 2016-05-13 08:32:15 +03:00
gedi
4157f01786 handle exit status from printing twice, closes #12 2015-07-03 17:16:12 +03: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
3b529178f3 fixed merged imports, was not including sql drivers for example 2015-07-02 11:09:58 +03:00
gedi
b2e7b20045 always remove built test file 2015-06-30 15:17:41 +03:00
gedi
386c787135 closes #1 2015-06-23 22:38:50 +03:00
gedi
2e696381c9 test suite scenario runner 2015-06-19 11:51:35 +03:00
gedi
743083181e exit status on failure, test godog with godog on travis 2015-06-17 17:58:22 +03:00
gedi
2d3d04e0e6 more specific types and references for gherkin nodes 2015-06-17 12:49:16 +03:00
gedi
a38d5bc0d0 suppress suite stderr output 2015-06-16 16:26:52 +03:00
Algirdas Matas
3ee0746a3c Multiple init functions are allowed per file. 2015-06-15 11:00:40 +03:00
gedi
54e8ddb5db custom type for arguments in order to have convenient cast methods 2015-06-12 21:12:14 +03:00
gedi
5fdfd4f4b1 do not panic on command error exit 2015-06-12 17:00:49 +03:00
gedi
ed9d322492 colorization support and redirect stdout and stderr for the command 2015-06-12 16:16:54 +03:00
gedi
17a24204da run built test suite source with godog command 2015-06-12 15:39:41 +03:00
gedi
620b8ef3f1 build basic test runner from package source and test files
* c2f6784 AST
* 9e4d962 Use x/tools/imports to insert import statement
* bb7649f move builder to godog package
* 2892dd1 add build func documentation
2015-06-12 14:23:15 +03:00
gedi
6182dc5d72 give a project name 2015-06-10 16:15:01 +03:00
gedi
aa08819bb3 register steps like http handler 2015-06-10 15:02:30 +03:00