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

293 коммитов

Автор SHA1 Сообщение Дата
gedi
5c352074bc
support for tags in outline examples, closes #133 2018-09-28 16:17:13 +03:00
gedi
857a19d0bf
should close #136 2018-09-27 16:04:42 +03:00
gedi
d0006ef306
go vet detected error in gherkin lib 2018-09-19 11:34:52 +03:00
gedi
7a131048a6
minor patch for godog command in go1.11, may need to be adjusted #136 2018-09-19 11:32:24 +03:00
gedi
c65ea2b545
add go1.11 to travis build 2018-09-03 21:05:05 +03:00
gedi
4df893dd4a
expose FindFmt function to search for available formatter
closes #130
2018-07-31 14:55:36 +03:00
Gediminas Morkevicius
943635096a
Merge pull request #123 from Pykselle/Pykselle-patch-1
Fix windows /dev/null bug with go1.10.0
2018-03-30 10:55:25 +01:00
Pykselle
9f95a05caa
Fix windows bug
Since last update on go 1.10.0 and godog v0.7.7, a "dev" folder (containing the test binary named "null") was created in the current test directory (where the "godog" cmd was called) on WINDOWS machines
2018-03-30 09:55:59 +02:00
gedi
df93abf0b6
update formatting in readme 2018-03-13 11:03:16 +02:00
gedi
9441eb3b31
add support for binding godog flags to specified *flag.FlagSet
allows to run with go test and use all godog flags for filtering
related to #120
2018-03-13 10:28:35 +02:00
gedi
0371765570
adapts vendoring support for go1.10, should close #118 2018-03-08 10:12:28 +02:00
gedi
f9aabcdc58
common failed scenario output for progress and pretty format: #113 2018-03-04 12:17:12 +02:00
gedi
cf27a6173c
fixes errored scenario output for outlines closes #113 2018-03-04 10:34:58 +02:00
gedi
6bd67bfcee
bump version and update changelog 2018-03-04 10:34:08 +02:00
Gediminas Morkevicius
0997cc8515
Merge pull request #117 from DATA-DOG/go1.10
Go1.10 support for Godog command
2018-03-04 10:08:57 +02:00
gedi
bf43aba2d8
support godog package in vendor directory 2018-03-04 09:56:22 +02:00
gedi
f9f6c208d6
vendor package support missing still for go1.10 2018-03-03 20:50:14 +02:00
gedi
3456668e83
builds the package dependency tree when there are no go sources 2018-03-03 20:50:14 +02:00
gedi
6f63ac8d06
adapt to new compiler and linker in go tool chain 2018-03-03 20:50:14 +02:00
gedi
c6efea2224
include go 1.9 in travis build 2018-02-07 09:46:20 +02:00
gedi
8839248093
reference cucumber html formatter in readme #103 2018-02-07 09:45:02 +02:00
Gediminas Morkevicius
6dc6dccbf8
Merge pull request #111 from serfdom/patch-1
Update README.md
2017-12-19 09:13:21 +02:00
Mark Ayers
060dc38183
Update README.md
add `godog.` to the second `TestMain` example to make it runnable.
2017-12-18 17:34:03 -08: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
0093943021
closes #101 2017-09-23 17:34:19 +03:00
gedi
385444d0e0
closes #72 2017-08-31 16:52:21 +03:00
gedi
4dc98b0e2b
closes #96 2017-08-31 16:20:30 +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
aea8188613
improves builder to use go env in order to find compiler and linker,
closes #64
2017-08-02 11:03:24 +03:00
gedi
c316cae832
should resolve #94 2017-07-22 14:08:07 +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
bfe2b72dcb
updates travis to check formatting and run latest versions 2017-06-09 11:45:38 +03:00
gedi
aac216500e
nested multi line steps with table or content body argument #89 2017-06-09 11:42:28 +03:00
gedi
b10470da31
closes #86 2017-05-24 16:04:43 +03:00
Gediminas Morkevicius
b4a371731c Merge pull request #84 from mroth/relax-suitecontext
relax suite context matcher language
2017-05-06 11:56:04 +03:00
Matthew Rothenberg
299762e5b1 relax suite context matcher language
This slightly relaxes the language for the SuiteContext matchers, so
that whether one starts the step with “a …” or not it will match either
way.

(It also eliminates one duplicate matcher that essentially did the same
thing without a regex.)
2017-05-05 22:11:10 -04:00
gedi
2f95563bb4
compatibility with godog cli 2017-05-05 23:37:57 +03:00
Gediminas Morkevicius
4af9c12d7b Merge pull request #82 from mroth/reusable-metatesting
Reusable metatesting for add-on developers
2017-05-05 23:21:32 +03:00
Matthew Rothenberg
43dd0a1df3 fix line numbers in test after rebase 2017-05-05 13:44:48 -04:00
Matthew Rothenberg
fe33ed6e75 update godoc description 2017-05-05 11:40:35 -04:00
Matthew Rothenberg
fd1b376057 fix pre-existing typo 2017-05-05 11:40:35 -04:00
Matthew Rothenberg
ef0216a8bc add a general purpose "all steps" test 2017-05-05 11:40:35 -04:00
Matthew Rothenberg
304f1ea232 allow additional context initializers to be passed to SuiteContext
enables developers to inject extra context into the test environment
when running suites in meta-tests.
2017-05-05 11:40:35 -04:00
Matthew Rothenberg
2b109b5ea8 move SuiteContext out of _test namespace
This allows it to be easily re-used in other libraries to do
meta-testing on their own godog features/steps.

At some point it may make sense to migrate this entirely to a
sub-package of godog, however that would require a larger
re-architecting of the project structure to avoid circular dependencies
(e.g. `import cycle not allowed`).
2017-05-05 11:40:35 -04: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