Class AnnotationBasedTagProvider
java.lang.Object
net.thucydides.core.statistics.service.AnnotationBasedTagProvider
- All Implemented Interfaces:
CoreTagProvider,TagProvider
Returns test tags based on the @WithTag, @WithTags and @WithTagValuesOf.
Since there is no implicit structure in tags declared this way, capabilities need to
be distinguished using a special 'capability' tag.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetTagsFor(TestOutcome testOutcome) Returns the tags associated with a given test outcome.
-
Constructor Details
-
AnnotationBasedTagProvider
public AnnotationBasedTagProvider()
-
-
Method Details
-
getTagsFor
Description copied from interface:TagProviderReturns the tags associated with a given test outcome.- Specified by:
getTagsForin interfaceTagProvider- Parameters:
testOutcome- the outcome for a specific test- Returns:
- the tags associated with a given test outcome.
-