Class FeatureStoryTagProvider

java.lang.Object
net.thucydides.model.statistics.service.FeatureStoryTagProvider
All Implemented Interfaces:
CoreTagProvider, TagProvider

public class FeatureStoryTagProvider extends Object implements TagProvider, CoreTagProvider
Legacy tag provider that builds tags based on the Feature/Story structure, if the @WithTag annotation is not used. If the @WithTag annotation is used, @Feature classes will not be used.
  • Constructor Details

    • FeatureStoryTagProvider

      public FeatureStoryTagProvider()
    • FeatureStoryTagProvider

      public FeatureStoryTagProvider(EnvironmentVariables environmentVariables)
  • Method Details

    • getTagsFor

      public Set<TestTag> getTagsFor(TestOutcome testOutcome)
      Description copied from interface: TagProvider
      Returns the tags associated with a given test outcome.
      Specified by:
      getTagsFor in interface TagProvider
      Parameters:
      testOutcome - the outcome for a specific test
      Returns:
      the tags associated with a given test outcome.