Class FeatureStoryTagProvider

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

public class FeatureStoryTagProvider
extends java.lang.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 Summary

    Constructors 
    Constructor Description
    FeatureStoryTagProvider()  
    FeatureStoryTagProvider​(EnvironmentVariables environmentVariables)  
  • Method Summary

    Modifier and Type Method Description
    java.util.Set<TestTag> getTagsFor​(TestOutcome testOutcome)
    Returns the tags associated with a given test outcome.

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • FeatureStoryTagProvider

      public FeatureStoryTagProvider()
    • FeatureStoryTagProvider

      public FeatureStoryTagProvider​(EnvironmentVariables environmentVariables)
  • Method Details

    • getTagsFor

      public java.util.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.