Package de.qytera.qtaf.cucumber.helper
Class CucumberTestCaseStateHelper
java.lang.Object
de.qytera.qtaf.cucumber.helper.CucumberTestCaseStateHelper
Helper class for extracting information from Cucumber Scenario objects
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic List<io.cucumber.plugin.event.Result>getStepResults(io.cucumber.core.backend.TestCaseState testCaseState) Get test result object list from a TestCaseState objectstatic io.cucumber.plugin.event.TestCasegetTestCase(io.cucumber.core.backend.TestCaseState testCaseState) Get TestCase object from TestCaseState object
-
Constructor Details
-
CucumberTestCaseStateHelper
public CucumberTestCaseStateHelper()
-
-
Method Details
-
getTestCase
public static io.cucumber.plugin.event.TestCase getTestCase(io.cucumber.core.backend.TestCaseState testCaseState) Get TestCase object from TestCaseState object- Parameters:
testCaseState- TestCaseState object- Returns:
- TestCase object
-
getStepResults
public static List<io.cucumber.plugin.event.Result> getStepResults(io.cucumber.core.backend.TestCaseState testCaseState) Get test result object list from a TestCaseState object- Parameters:
testCaseState- TestCaseState object- Returns:
- List of test case result objects
-