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

16 коммитов

Автор SHA1 Сообщение Дата
Fredrik Lönnblad
7df9dadeb9 Fixed so that we don't execute features with zero scenarios 2020-06-23 19:53:46 +02:00
tfreville
fe2a967670 Clean change on pretty. Make test on new TC meaningfull again. 2020-03-09 20:54:10 +01:00
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
1a35035f3e Fixed a bug regarding JUnit time field 2020-02-26 16:15:39 -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
gedi
5c352074bc
support for tags in outline examples, closes #133 2018-09-28 16:17:13 +03:00
Matthew Rothenberg
43dd0a1df3 fix line numbers in test after rebase 2017-05-05 13:44:48 -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
5bfd57218a
adds more tests for multistep execution 2017-04-29 00:13:14 +03:00
gedi
df5310a062
tests junit formatter 2017-04-28 15:46:11 +03:00
gedi
96efe41c4d simplify cucumber output format matcher for now 2017-03-09 18:48:56 +02:00
Stettler, Robert
819ce03090 Reformatting. 2017-03-02 10:50:30 -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
gedi
c50c2dc368 initial tests for event stream formatter 2016-10-30 18:27:34 +02:00