Class CucumberTestCaseStateHelper

java.lang.Object
de.qytera.qtaf.cucumber.helper.CucumberTestCaseStateHelper

public class CucumberTestCaseStateHelper extends Object
Helper class for extracting information from Cucumber Scenario objects
  • 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