Class FeaturePath

java.lang.Object
io.cucumber.core.feature.FeaturePath

public class FeaturePath extends Object
A feature path is a URI to a single feature file or directory of features.

This URI can either be absolute: scheme:/absolute/path/to.feature, or relative to the current working directory: scheme:relative/path/to.feature. In either form, when the scheme is omitted file will be assumed.

On systems that use a File.separatorChar other then `/` File.separatorChar can be used as a path separator. When doing so when the scheme must be omitted: path\to.feature. It is recommended to use `/` as the path separator.

See Also:
  • Method Details

    • parse

      public static URI parse(String featureIdentifier)