Annotation Interface RequiresModule


Enables or disables a test based on whether the module exists. You can optionally check the version of the module to determine if the modules version is greater than the minimum version.
Author:
James R. Perkins
  • Required Element Summary

    Required Elements
    Modifier and Type
    Required Element
    Description
    The module that is required for the test to run.
  • Optional Element Summary

    Optional Elements
    Modifier and Type
    Optional Element
    Description
    A reference for the issue tracker to be reported in the response for a disabled test.
    The minimum version of the module resource.
    The reason message for disabled test.
    The slot for the module.
  • Element Details

    • minVersion

      String minVersion
      The minimum version of the module resource.

      Note that if more than one resource is defined, only the first resource is used to determine the version.

      Returns:
      the minimum version
      Default:
      ""
    • issueRef

      String issueRef
      A reference for the issue tracker to be reported in the response for a disabled test.
      Returns:
      the issue reference
      Default:
      ""
    • reason

      String reason
      The reason message for disabled test.
      Returns:
      the reason message
      Default:
      ""
    • value

      String value
      The module that is required for the test to run.
      Returns:
      the module name
    • slot

      String slot
      The slot for the module. The default is main.
      Returns:
      the slot for the module
      Default:
      "main"