24 строки
928 Б
Text
24 строки
928 Б
Text
<green>.</green><red>F</red><cyan>-</cyan><yellow>P</yellow><cyan>-</cyan><yellow>U</yellow><cyan>-</cyan> 7
|
|
|
|
|
|
--- <red>Failed steps:</red>
|
|
|
|
<red>Scenario: failing</red><bold-black> # formatter-tests/features/some_scenarions_including_failing.feature:3</bold-black>
|
|
<red>When failing step</red><bold-black> # formatter-tests/features/some_scenarions_including_failing.feature:5</bold-black>
|
|
<red>Error: </red><bold-red>step failed</bold-red>
|
|
|
|
|
|
3 scenarios (<red>1 failed</red>, <yellow>1 pending</yellow>, <yellow>1 undefined</yellow>)
|
|
7 steps (<green>1 passed</green>, <red>1 failed</red>, <yellow>1 pending</yellow>, <yellow>1 undefined</yellow>, <cyan>3 skipped</cyan>)
|
|
0s
|
|
|
|
<yellow>You can implement step definitions for undefined steps with these snippets:</yellow>
|
|
<yellow>
|
|
func undefined() error {
|
|
return godog.ErrPending
|
|
}
|
|
|
|
func FeatureContext(s *godog.Suite) {
|
|
s.Step(`^undefined$`, undefined)
|
|
}
|
|
</yellow>
|