@Test public void featureTagTest() { List<String> existingTags = new ArrayList<>(); for (Feature f : reports.getFeatures()) { for (Tag t : f.getTags()) { existingTags.add(t.getName() + t.getLine()); } } List<String> expectedTags = new ArrayList<String>(Arrays.asList( "@super1", "@editor1", "@formatting1", "@formattingBlocks1", "@formattingSpacer1", "@all3", "@ControleDeBens3", "@Patrimonio3")); assertEquals(expectedTags, existingTags); }
public List<Feature> getFeatures() { return features; }
AllFeatureReports { public List<Feature> getFeatures() { return features; } }
AllFeatureReports { public List<Feature> getFeatures() { return features; } AllFeatureReports(String pageTitle, List<Feature> features); }
AllFeatureReports { public List<Feature> getFeatures() { return features; } AllFeatureReports(String pageTitle, List<Feature> features); List<Feature> getFeatures(); Integer getScenariosTotal(); Integer getScenariosTotalPassed(); Integer getScenariosTotalFailed(); Integer getStepsTotal(); Integer getStepsTotalPassed(); Integer getStepsTotalFailed(); Integer getStepsTotalSkipped(); Integer getStepsTotalUndefined(); long getTotalDuration(); Integer getFeaturesCount(); String getPageTitle(); List<String> getAllTags(); }
AllFeatureReports { public List<Feature> getFeatures() { return features; } AllFeatureReports(String pageTitle, List<Feature> features); List<Feature> getFeatures(); Integer getScenariosTotal(); Integer getScenariosTotalPassed(); Integer getScenariosTotalFailed(); Integer getStepsTotal(); Integer getStepsTotalPassed(); Integer getStepsTotalFailed(); Integer getStepsTotalSkipped(); Integer getStepsTotalUndefined(); long getTotalDuration(); Integer getFeaturesCount(); String getPageTitle(); List<String> getAllTags();  }