Viacheslav Poturaev
9d4b221f7a
Use multiple formatters in the same test run
2021-05-30 22:11:44 +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
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
813312606f
Moved the parser code to a new internal pkg
2020-07-05 18:40:56 +02:00
Fredrik Lönnblad
150c400163
Created internal packages for formatters, storage and models
2020-07-02 08:51:31 +02:00
Fredrik Lönnblad
99723f8220
Moved the builder code to a new internal pkg
2020-07-01 07:54:59 +02:00
Fredrik Lönnblad
dbd8cdf723
Removed deprecated code
2020-06-27 19:13:38 +02:00
Fredrik Lönnblad
7df9dadeb9
Fixed so that we don't execute features with zero scenarios
2020-06-23 19:53:46 +02:00
Fredrik Lönnblad
376280cfc6
Fixed the broken --random flag
2020-06-21 14:43:15 +02:00
Fredrik Lönnblad
39940f55bc
Added support for concurrent scenarios
2020-06-14 19:21:01 +02:00
Fredrik Lönnblad
b717039e16
Refactored some states in the formatters and feature struct
2020-06-14 09:49:22 +02:00
Fredrik Lönnblad
25b1915272
Broke out some code from massive files into new files
2020-06-13 09:20:06 +02:00
Fredrik Lönnblad
b1a69ae142
Added features to the in-mem storage
2020-06-13 06:45:14 +02:00
Fredrik Lönnblad
cd7663fccf
Added Pickle and PickleStep results to the in-mem storage
2020-06-10 21:45:23 +02:00
Fredrik Lönnblad
4356addf9f
Added an in-mem storage for pickles
2020-06-09 13:30:32 +02:00
Fredrik Lönnblad
e6227a2e0f
Added the new TestSuiteInitializer and ScenarioInitializer
2020-05-18 09:48:06 +02:00
Fredrik Lönnblad
edfd2a1c3a
Updated so that we run all tests concurrent now
2020-03-26 12:40:15 +01:00
Fredrik Lönnblad
d6f491a3dc
Added concurrency support to the cucumber formatter
2020-03-26 12:18:01 +01:00
Fredrik Lönnblad
172b91ea58
Added concurrency support to the events formatter
2020-03-26 12:11:45 +01:00
Fredrik Lönnblad
2deda99861
Added concurrency support to the pretty formatter
2020-03-26 11:56:28 +01:00
Fredrik Lönnblad
11f28803ec
Added comparison between single and multi threaded runs
2020-03-24 12:01:58 +01:00
Eric McBride
94054ac374
Re enable custom formatters
2020-02-29 08:22:52 -06:00
Jayson Smith
b9b8a8cd4f
Change data-dog/godog references to cucumber/godog
...
* update makefile
2020-02-06 08:38:28 -07:00
Fredrik Lönnblad
1a762a8938
Refactored basfmt and junitFormatter to support concurrency
2020-01-19 11:10:53 -03:00
funvit
652eedf03a
fix for progress printing with concurrency mode
2019-09-02 21:58:26 +03:00
funvit
0d22f34c56
fix: added panic if type assertions failed
2019-08-31 19:26:57 +03:00
funvit
b730b9fd4b
fix for progress formatter summary in concurrency mode
...
see: https://github.com/DATA-DOG/godog/issues/161
2019-08-31 17:40:34 +03:00
gedi
cb8e8cae52
closes #146
2018-11-26 09:48:18 +02:00
gedi
92660751ca
fixes an issue with random seed env var
2018-11-13 10:10:44 +02:00
gedi
4df893dd4a
expose FindFmt function to search for available formatter
...
closes #130
2018-07-31 14:55:36 +03:00
gedi
4dc98b0e2b
closes #96
2017-08-31 16:20:30 +03:00
gedi
92fbee719c
tests suite execution function and related errors
2017-05-05 11:04:54 +03:00
gedi
8e9c01d484
gets rid of fatal func, which exits application on unexpected error
2017-05-04 21:11:46 +03:00
gedi
a3338b5849
adds --strict flag to fail suite when there are pending or undefined steps
2017-05-04 20:25:29 +03:00
gedi
5bfd57218a
adds more tests for multistep execution
2017-04-29 00:13:14 +03:00
gedi
703b40de76
adds scenarios to test nested steps
2017-04-28 22:04:49 +03:00
gedi
d5a7e38a81
tests printing step definitions and stacktrace formatting
2017-04-28 09:46:17 +03:00
gedi
201677e152
prints random seed in formatter summary
2017-04-27 09:54:13 -04:00
Matthew Rothenberg
d2eb563953
single randomSeed Option value, handled as flag.Value
...
Best of both worlds, this allows for a single int64 value in the
Options struct, but at the same time we can do `—random` from command
line with no args and have a default value Chosen.
2017-04-26 12:21:12 -04:00
Matthew Rothenberg
f50c3b5e14
allow setting randomization via flags
...
allows for setting randomization with flags, but also modifies the
Options struct to now have two separate values
Overall this relates in a much more understandable UI from a user
perspective, since the normal case for randomization will be a user
just saying “run these out of order please” — and in a rare case they
may wish to additionally supply a seed to try to reproduce an older run
to trigger the same error condition.
2017-04-25 14:50:58 -04:00
Matthew Rothenberg
cf6160b3f2
fix deterministic scenario ordering with feature concurrency
...
while global rand is concurrent safe, since each suite is handling
picking scenario order on it’s own, if running features under
concurrency we cannot guarantee the order Features will execute under,
therefore we have each suite initialize its own randomness Source with
the initial seed, such that their random order selection within a
Feature should always be deterministic when given a specific seed.
2017-04-25 12:33:20 -04:00
Matthew Rothenberg
0eed963c63
switch Random opt from bool to int64
...
This allows for us to propagate the seed value around, and not have to
have two different values in Options when we want to allow
specification of seed. It does introduce some “magic values”, but the
document them in the Options struct docstrings.
2017-04-25 11:42:40 -04:00
Matthew Rothenberg
4a754b26a5
allow randomizing scenario order
2017-04-24 21:10:55 -04:00
Stettler, Robert
061d3a3b74
Added support for Docstirngs
...
Updated lang.feature with the additional cucumber.feature
Updated load.feature with the additional cucumber.feature
Updated events.feature to account for ripple effect of updating lang and load
Updated run.go to indicate that cucumber formatter does not support concurrent.
Updated suite_test.go to handle one new testing step.
2017-02-23 11:49:04 -05:00
gedi
5a471a7e2f
closes #60 allows custom formatters to run concurrently
2017-01-16 13:52:58 +02:00
gedi
2e189ad0f9
use Options in FlagSet
2016-11-22 21:12:18 +02:00
gedi
e2069934b3
allow run options to configure output writer
2016-10-30 22:34:39 +02:00
gedi
dcc654c5fb
do not exit with error when producing event stream
2016-10-30 18:31:39 +02:00
gedi
1467bfd672
pass in suite name - tested package name
2016-10-30 18:31:39 +02:00