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

741 коммит

Автор SHA1 Сообщение Дата
gedi
f3b7331cea
updates documentation in README 2017-04-30 20:20:00 +03:00
gedi
a0ae829d54
updates readme with selenium related integration references 2017-04-29 23:36:13 +03:00
Gediminas Morkevicius
38e3d1fb6d Merge pull request #79 from DATA-DOG/multistep
implements convenient multistep definition
2017-04-29 23:12:28 +03:00
gedi
f09230a6fd
updates readme and changelog 2017-04-29 23:09:32 +03:00
gedi
e4ed3b9a9c
handles undefined step templates for nested steps 2017-04-29 22:56:28 +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
ba80ebcd33
implements multistep - initial attempt 2017-04-28 22:04:49 +03:00
gedi
88d441e5ce
improves stepdef test coverage 2017-04-28 18:11:02 +03:00
gedi
7474489b9c
tests progress formatter output production 2017-04-28 16:37:36 +03:00
gedi
b41f349e3c
fixes time.Duration zero formatted value matching 2017-04-28 15:56:22 +03:00
gedi
df5310a062
tests junit formatter 2017-04-28 15:46:11 +03:00
gedi
ef794d57ca
resets time to zero for all godog tests 2017-04-28 10:57:09 +03:00
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