Class CucumberFeatureHelper

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

public class CucumberFeatureHelper extends Object
Helper class for extracting information from Cucumber features.
  • Method Details

    • getRelativeFeatureFilePath

      public static String getRelativeFeatureFilePath(String absolutePath)
      Get feature file path relative to project's source directory.
      Parameters:
      absolutePath - The absolute path to the feature file
      Returns:
      The relative path of the feature file
    • getFeature

      public static io.cucumber.messages.types.Feature getFeature(io.cucumber.core.gherkin.Feature iFeature)
      Get Feature object from Feature object.
      Parameters:
      iFeature - Feature interface object
      Returns:
      Feature object