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

68 коммитов

Автор SHA1 Сообщение Дата
gedi
ee4ee478e2
closes #160 2019-02-27 14:42:24 +02:00
gedi
029c7ad8c6
run before step handlers, before matching step, closes #147 2018-12-19 14:40:28 +02:00
hgouchet
2604810f50 errcheck + unused 2018-09-29 13:12:16 +02:00
hgouchet
5bd9dce5d6 lint + unused 2018-09-29 00:10:55 +02:00
gedi
5c352074bc
support for tags in outline examples, closes #133 2018-09-28 16:17:13 +03:00
gedi
272624afcc
do not fire events when feature or scenario is empty 2017-10-26 14:14:34 +03:00
gedi
df188464c6
properly filters features by line and tags given 2017-10-24 16:02:18 +03:00
gedi
0b4523c009
closes #98 2017-08-31 10:31:25 +03:00
gedi
db3c6246b8
closes #97 2017-08-31 09:30:17 +03:00
gedi
70f777599d
closes #92 2017-07-02 19:22:23 +03:00
gedi
e82f88d590
closes #90 2017-06-22 13:23:56 +03:00
gedi
aac216500e
nested multi line steps with table or content body argument #89 2017-06-09 11:42:28 +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
f87d99d0aa
fixes a bug, when there are undefined steps after failing step #80 2017-05-04 11:02:01 +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
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