gedi
d3cf314381
fixes stack trace test
2017-04-28 10:54:24 +03:00
gedi
d5a7e38a81
tests printing step definitions and stacktrace formatting
2017-04-28 09:46:17 +03:00
gedi
83675453b7
runs tests with randomized scenario order, adds verbose mode
2017-04-27 17:43:00 +03:00
gedi
90b8d3bfe7
tests flags and binary builder
2017-04-27 17:26:43 +03:00
gedi
169d617b26
removes sorting feature files, accepts them by given order, closes #78
2017-04-27 17:25:21 +03:00
Gediminas Morkevicius
0b640526cf
Merge pull request #76 from mroth/randomize-order
...
allow randomizing scenario order
2017-04-27 17:13:04 +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
gedi
834d5841c7
makes more explicit error message for an example json matcher
2017-03-16 20:29:40 +02:00
gedi
cf8fbb4ad0
fixes test case location matching and bumps version
2017-03-09 19:29:51 +02:00
gedi
96efe41c4d
simplify cucumber output format matcher for now
2017-03-09 18:48:56 +02:00
Gediminas Morkevicius
f726a8ed55
Merge pull request #67 from ckstettler/cuke-fmt
...
Added support for the cucumber json format.
2017-03-09 18:44:27 +02:00
Stettler, Robert
819ce03090
Reformatting.
2017-03-02 10:50:30 -05:00
Stettler, Robert
7a4d079c2a
Reformatting.
2017-02-27 08:15:51 -05:00
Stettler, Robert
d0e613d6c8
Discovered defects resulting from not comparing the expected and actual structures. Times when actual contained more fields than expected.
2017-02-27 07:24:54 -05:00
Stettler, Robert
877f6a2c49
Added an additional test case to improve coverage.
2017-02-24 10:22:14 -05:00
Stettler, Robert
00836409e4
Made updates based on golint report.
2017-02-24 06:48:46 -05: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
Stettler, Robert
7c9f5bfb02
Added comments to feature node.
...
Fixed duration
Fix defect is example id
2017-02-22 09:39:21 -05:00
Stettler, Robert
afc629be69
Added examples logic.
2017-02-21 10:45:05 -05:00
Stettler, Robert
9820f49ceb
Added examples logic.
2017-02-17 12:36:07 -05:00
Stettler, Robert
a201aed432
Save some work for cucumber format.
2017-02-17 10:54:08 -05:00
gedi
c3f5ce2793
bumps version
2017-02-10 21:49:14 +02:00
gedi
84023ead3e
adds back bold font for matched arguments, was lost while refactored
2017-02-10 21:47:55 +02:00
gedi
f8334bc959
closes #65
2017-02-10 21:40:39 +02:00
gedi
5a471a7e2f
closes #60 allows custom formatters to run concurrently
2017-01-16 13:52:58 +02:00
Gediminas Morkevicius
380fc85cb9
Merge pull request #59 from Dogild/STDINGodog
...
Fixed: assigned os.Stdin to cmd.Stdin when launching godog
2017-01-05 20:44:35 +02:00
Alexandre Wilhelm
a4f199f35f
Fixed: assigned os.Stdin to cmd.Stdin when launching godog
2017-01-05 10:25:55 -08:00
gedi
601d087173
adds codecov.io report
2016-12-07 09:14:17 +02:00
gedi
2e189ad0f9
use Options in FlagSet
2016-11-22 21:12:18 +02:00
gedi
bfb741f6c7
closes #54 will print stack trace if case of panic
2016-11-22 21:00:43 +02:00
gedi
dbda8afb77
fix examples based on recent changes
2016-11-22 20:09:53 +02:00
gedi
623ff9946e
update change log
2016-10-30 22:55:11 +02:00
gedi
e2069934b3
allow run options to configure output writer
2016-10-30 22:34:39 +02:00
gedi
115923c97f
refactor colorization into the separate package
2016-10-30 22:33:37 +02:00
gedi
a4b5349b94
handle the trailing space in snippets
2016-10-30 18:31:39 +02:00
gedi
dcc654c5fb
do not exit with error when producing event stream
2016-10-30 18:31:39 +02:00
gedi
8d911a71f0
fix snippet trailing space, missing event for test case finish
2016-10-30 18:31:39 +02:00
gedi
fb26a4d567
fixed test case finished event determination
2016-10-30 18:31:39 +02:00
gedi
78cb180a3a
adapt 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
gedi
c50c2dc368
initial tests for event stream formatter
2016-10-30 18:27:34 +02:00
gedi
e71d596404
must be able to customize output for formatters
...
since it maybe configured by flag values in the future
example:
- godog -f junit:stdout
- godog -f junit:output.xml
2016-10-30 18:27:34 +02:00
gedi
aed77a5b4b
initial event stream format implementation based on spec 0.1.0
2016-10-30 18:27:34 +02:00
gedi
34acb056ea
implementation of event stream formatter
2016-10-30 18:27:34 +02:00
gedi
49e59d9296
add method to allow running from go source, without flags, see #50
2016-10-28 17:48:39 +03:00