Annotation Type ForSource


@Target(METHOD) @Retention(RUNTIME) public @interface ForSource
A marker annotation that can designate that a given test method should only be executed if the test invocation's SourceType matches one of the entries in value().
Author:
Chris Cranford
  • Optional Element Summary

    Optional Elements
    Modifier and Type
    Optional Element
    Description
    Returns the reason documenting why specific sources are excluded.
    Returns the connector type that will be used for the test template invocation matrix.
  • Element Details

    • value

      SourceType[] value
      Returns the connector type that will be used for the test template invocation matrix.
      Default:
      {}
    • reason

      String reason
      Returns the reason documenting why specific sources are excluded.
      Default:
      ""