Annotation Interface ExceptionCoverage


@Retention(RUNTIME) @Target(TYPE) @Repeatable(ExceptionCoverageSet.class) public @interface ExceptionCoverage
Defines the list of standard exceptions covered by a test set. Used in conjunction with the exception compliance unit tests to ensure full coverage of defined exceptions in Gremlin Structure. The list of exceptions is defined with by the exception class and the list of methods that generate the exceptions that are covered by the test.
Author:
Stephen Mallette (http://stephen.genoprime.com)
  • Required Element Summary

    Required Elements
    Modifier and Type
    Required Element
    Description
    The exception class from Gremlin Structure that contains the exceptions that are covered by the block of tests.
    The list of method names from the related exceptionClass() that are covered by the tests.
  • Element Details

    • exceptionClass

      Class exceptionClass
      The exception class from Gremlin Structure that contains the exceptions that are covered by the block of tests.
    • methods

      String[] methods
      The list of method names from the related exceptionClass() that are covered by the tests.