cucumber.runtime.model.CucumberFeature Maven / Gradle / Ivy
package cucumber.runtime.model;
import cucumber.io.Resource;
import cucumber.io.ResourceLoader;
import cucumber.runtime.CucumberException;
import cucumber.runtime.FeatureBuilder;
import cucumber.runtime.Runtime;
import gherkin.I18n;
import gherkin.formatter.Formatter;
import gherkin.formatter.Reporter;
import gherkin.formatter.model.Background;
import gherkin.formatter.model.Examples;
import gherkin.formatter.model.Feature;
import gherkin.formatter.model.Scenario;
import gherkin.formatter.model.ScenarioOutline;
import gherkin.formatter.model.Step;
import java.util.ArrayList;
import java.util.Collections;
import java.util.Comparator;
import java.util.List;
public class CucumberFeature {
private final String uri;
private final Feature feature;
private CucumberBackground cucumberBackground;
private StepContainer currentStepContainer;
private List cucumberTagStatements = new ArrayList();
private I18n i18n;
private CucumberScenarioOutline currentScenarioOutline;
public static List load(ResourceLoader resourceLoader, List featurePaths, final List