Annotation Interface FPTest


@Retention(RUNTIME) @Target(METHOD) public @interface FPTest
FPTest is a custom annotation designed to be used on methods for marking them as test cases. It helps to identify methods that should be treated as test cases in the testing framework. The annotation's attributes allow for providing a human-readable test name and an optional flag to skip the test.
  • Required Element Summary

    Required Elements
    Modifier and Type
    Required Element
    Description
    Specifies the name of the test case.
  • Optional Element Summary

    Optional Elements
    Modifier and Type
    Optional Element
    Description
    boolean
    Indicates whether the annotated test case should be skipped during test execution.
  • Element Details

    • name

      String name
      Specifies the name of the test case. This name is used to identify the test case in reports, logs, and other contexts where the test case is referenced.
      Returns:
      the name of the test case
    • skip

      boolean skip
      Indicates whether the annotated test case should be skipped during test execution.
      Returns:
      true if the test case should be skipped, false otherwise
      Default:
      false