From 877f6a2c49c968e8b2f701752e50511541ad3cc8 Mon Sep 17 00:00:00 2001 From: "Stettler, Robert" Date: Fri, 24 Feb 2017 10:22:14 -0500 Subject: [PATCH] Added an additional test case to improve coverage. --- suite_test.go | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/suite_test.go b/suite_test.go index 0c2a9eb..8028fc4 100644 --- a/suite_test.go +++ b/suite_test.go @@ -67,6 +67,11 @@ func SuiteContext(s *Suite) { return nil }) + // duplicate step to 'a failing step' I added to help test cucumber.feature + // I needed to have an Scenario Outline where the status was passing or failing + // I needed the same step def language. + s.Step(`^failing step$`, c.aFailingStep) + // Introduced to test formatter/cucumber.feature s.Step(`^the rendered json will be as follows:$`, c.theRenderJSONWillBe)