Package org.citrusframework.yaks.util
Class CucumberUtils
- java.lang.Object
-
- org.citrusframework.yaks.util.CucumberUtils
-
public class CucumberUtils extends java.lang.Object- Author:
- Christoph Deppisch
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static java.lang.StringextractFeatureFileName(io.cucumber.java.Scenario scenario)Extract feature file name from given scenario.static java.lang.StringextractFeatureFileName(java.lang.String uri)Extract feature file name from given uri.
-
-
-
Method Detail
-
extractFeatureFileName
public static java.lang.String extractFeatureFileName(java.lang.String uri)
Extract feature file name from given uri. This utility method extracts the feature file name from the given file path.- Parameters:
uri-- Returns:
-
extractFeatureFileName
public static java.lang.String extractFeatureFileName(io.cucumber.java.Scenario scenario)
Extract feature file name from given scenario. The scenario id usually holds the full qualified feature file path. This utility method extracts the feature file name from this path.- Parameters:
scenario-- Returns:
-
-