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

17 коммитов

Автор SHA1 Сообщение Дата
tfreville
eb75d692bd <fix>(PRETIFIER): Fix s method to not have errors on negative entry
Context:
While trying to create an helper library to manage http rest api testing, I made a system witch allow to pick value from responses, header, cookie, ... and inject then as variables.
Issue:
Doing this, when the inject variable make the line longer than the longest declared step, godog will failed to render test result under pretty formatting cause it will try to write a comment on a negative index
Fix:
Fix s methods so it will not goes to fatal when recieving negative number.
2020-03-09 10:39:20 +01:00
Fredrik Lönnblad
84b42bdd4d
Revert "Migrated to github.com/cucumber/gherkin-go - v9.2.0" 2020-03-05 19:37:39 -03:00
Fredrik Lönnblad
c2c123f90a Migrated to github.com/cucumber/gherkin-go - v9.2.0
Signed-off-by: Fredrik Lönnblad <fredrik+github@lonnblad.com>
2020-02-29 16:00:33 -03:00
Fredrik Lönnblad
9b86360854 Moved base concurrency support to the basefmt 2020-02-29 15:08:08 -03:00
Fredrik Lönnblad
11ac07ea24 Added gherkin verification of the JUnit formatter 2020-02-11 18:55:36 -03:00
Fredrik Lönnblad
de8b0f071b Added features/formatter/pretty.feature 2020-02-11 08:14:46 -03:00
Jayson Smith
b9b8a8cd4f Change data-dog/godog references to cucumber/godog
* update makefile
2020-02-06 08:38:28 -07:00
gedi
5c352074bc
support for tags in outline examples, closes #133 2018-09-28 16:17:13 +03:00
gedi
4df893dd4a
expose FindFmt function to search for available formatter
closes #130
2018-07-31 14:55:36 +03:00
gedi
db3c6246b8
closes #97 2017-08-31 09:30:17 +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
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