Class FeatureParser


  • public class FeatureParser
    extends Object
    Created by pestano on 04/06/15.
    • Constructor Detail

      • FeatureParser

        public FeatureParser()
    • Method Detail

      • parse

        public static List<Feature> parse​(String json)
        Parameters:
        json - absolute path to cucumber json output file
        Returns:
        list of cucumber features found in json output files
      • parse

        public static List<Feature> parse​(List<String> paths)
        Parameters:
        paths - absolute paths to cucumber json output files
        Returns:
        list of cucumber features found in json output files
      • parse

        public static List<Feature> parse​(String... paths)
        Parameters:
        paths - absolute paths to cucumber json output files
        Returns:
        list of cucumber features found in json output files
      • findAndParse

        public static List<Feature> findAndParse​(String basePath)
        Parameters:
        basePath - relative or absolute path to a directory containing cucumber json output files
        Returns:
        list of cucumber features found in json output files