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

100 коммитов

Автор SHA1 Сообщение Дата
gedi
d5a7e38a81
tests printing step definitions and stacktrace formatting 2017-04-28 09:46:17 +03:00
gedi
169d617b26
removes sorting feature files, accepts them by given order, closes #78 2017-04-27 17:25:21 +03: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
bfb741f6c7 closes #54 will print stack trace if case of panic 2016-11-22 21:00:43 +02:00
gedi
115923c97f refactor colorization into the separate package 2016-10-30 22:33:37 +02:00
gedi
78cb180a3a adapt event stream 2016-10-30 18:31:39 +02:00
gedi
34acb056ea implementation of event stream formatter 2016-10-30 18:27:34 +02:00
gedi
abc6b65c1c sort feature files by path when executing, separate the concurrent runner 2016-06-16 12:01:58 +03:00
gedi
726a451b7a fix utf8 character counting for printers 2016-06-02 08:36:27 +03:00
gedi
518101cbc7 ship gherkin parser in a subpackage to prevent compatibility conflicts 2016-05-27 09:23:09 +03:00
gedi
53f9c3ad1c fix panic handling on step run, was giving wrong results 2016-05-22 16:16:56 +03:00
gedi
e9c3d69e2d be compatible with gherkin library changes
the downside is that if outline examples are empty
it won't be pretty printed as node. But that does not make
much difference anyway
2016-03-04 12:59:56 +02:00
gedi
8a07e4cae3 junit formatter implementation, adapt pretty formatter
closes #14 background was not printed with outline scenarios in feature
2016-03-04 11:24:25 +02:00
gedi
b669223afd BC break was introduced in gherkin-go master, use gopkg.in for explicit version 2016-03-02 15:28:04 +02: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
ca36316b7a instead of Suite interface expose Suite struct
* 570d70a update examples regarding Suite interface removal, closes #11
2015-07-03 15:54:06 +03:00
gedi
5829b59e80 improve scenario outline tests and behavior 2015-06-30 14:36:38 +03:00
gedi
6a99e1320d add pending step error and handling 2015-06-29 14:10:39 +03:00
gedi
b3b02bc417 minor optimizations, add []byte support for arguments 2015-06-28 11:37:05 +03:00
gedi
2046da1611 use reflection to set step arguments #9
* 9226bc5 more expressive conversion errors
2015-06-27 23:46:43 +03:00
gedi
c6d00dd6d5 refactor to use cocumber gherkin3 parser library
* bdde4c4 fix test suite and migration changes
* a3b6e01 refactor pretty formatter
* 2c0c7ba fix outline scenario handling
* f6b411d add a different language test feature

add a different language test feature
2015-06-25 21:19:02 +03:00
gedi
3268237f5c closes #5 2015-06-25 10:13:15 +03:00
gedi
54126fcfc8 reorganize flag handling and handle tag filters 2015-06-23 22:05:44 +03:00
gedi
d5755df70c ensure source formatting with golint, go vet and go fmt 2015-06-23 15:27:22 +03:00
gedi
e824fde3f9 add an ls feature example 2015-06-23 13:51:45 +03:00
gedi
6e65757f89 less types for step handler 2015-06-22 22:42:22 +03:00
gedi
479b181a91 simplify suite event contracts 2015-06-22 17:42:15 +03:00
gedi
df26aa1c1c support scenario outline with example table
* 042235c expose StepDef which is needed to formatters
* e9474dc fix outline scenario formatting
* f02c6ce fix comment position calculation for outlines
* 5d7f128 remove step status type, use standard error
2015-06-22 17:23:10 +03:00
gedi
c604d39ac5 less strict step registration 2015-06-19 10:30:38 +03:00
gedi
49130c8b08 test table node and events fired 2015-06-18 17:26:28 +03:00
gedi
00fab00e22 add suite events and possibility to listen to them 2015-06-18 14:33:34 +03:00
gedi
743083181e exit status on failure, test godog with godog on travis 2015-06-17 17:58:22 +03:00
gedi
a3ef3361f8 some necessary command line options 2015-06-17 16:44:42 +03:00
gedi
cb47b27090 more error details, refactor arguments to interface type 2015-06-17 14:46:15 +03:00
gedi
774d3d1837 test feature file loader 2015-06-17 13:54:31 +03:00
gedi
2d3d04e0e6 more specific types and references for gherkin nodes 2015-06-17 12:49:16 +03:00
gedi
42ca958118 update usage info, finish pretty format 2015-06-16 15:54:08 +03:00
gedi
156613f767 update step print matches 2015-06-15 14:42:40 +03:00
gedi
b69fa26b8b continue with output formatter implementation 2015-06-15 11:15:23 +03:00
gedi
3a2a357bd0 an initial formatter impl 2015-06-14 00:32:47 +03:00
gedi
fa9419c2d3 start to describing godog itself with godog 2015-06-13 00:02:10 +03:00
gedi
54e8ddb5db custom type for arguments in order to have convenient cast methods 2015-06-12 21:12:14 +03:00
gedi
d111956758 fix context import when package is not godog 2015-06-12 20:15:39 +03:00
gedi
f292e412c6 move step handler type to suite 2015-06-12 17:35:00 +03:00
gedi
0c1d529e06 parse features for suite, add doc for public methods 2015-06-12 17:17:33 +03:00
gedi
5fdfd4f4b1 do not panic on command error exit 2015-06-12 17:00:49 +03:00
Algirdas Matas
1eac4376b2 Make suite private 2015-06-12 16:56:55 +03:00
Algirdas Matas
412465f947 Parse contexts that have Suite interface in func definition 2015-06-12 16:48:16 +03:00