Class TestTag

java.lang.Object
org.junit.platform.engine.TestTag
All Implemented Interfaces:
Serializable

@API(status=STABLE, since="1.0") public final class TestTag extends Object implements Serializable
Immutable value object for a tag that is assigned to a test or container.
Since:
1.0
See Also:
isValid(String), create(String), Serialized Form
  • Field Details

    • RESERVED_CHARACTERS

      public static final Set<String> RESERVED_CHARACTERS
      Reserved characters that are not permissible as part of a tag name.
      • ,: comma
      • (: left parenthesis
      • ): right parenthesis
      • &: ampersand
      • |: vertical bar
      • !: exclamation point
  • Method Details