java.lang.Object
net.thucydides.model.requirements.model.cucumber.FeatureFileChecker

public class FeatureFileChecker extends Object
Check whether a stream of files contains valid feature files, and throw an InvalidFeatureFileException if one is either not valid Gherkin syntax, or contains errors or inconsistencies such as empty or duplicate scenario names
  • Constructor Details

    • FeatureFileChecker

      public FeatureFileChecker()
  • Method Details

    • check

      public void check(Stream<File> files, boolean allowDuplicateFeatureNames)