Class TagCreator

java.lang.Object
com.tngtech.jgiven.impl.tag.TagCreator

public class TagCreator extends Object
Handles the conversion of Annotations on Classes and Methods to displayable Tags.
  • Constructor Details

  • Method Details

    • toTags

      public ResolvedTags toTags(Class<? extends Annotation> annotationClass, String... values)
      Turns an annotation class and a manually supplied set of annotation values into tags. Permits the programmatic creation of tags.
    • toTags

      public ResolvedTags toTags(Annotation annotation)
      Turns an annotation defined on a class or method into tags. Permits the declarative creation of tags