Annotation Interface TestMethod


@Retention(RUNTIME) @Target(METHOD) public @interface TestMethod
By adding this annotation to a method, the method is flagged as a test method for ProM. A hudson server should, on each commit, find all methods annotated with this annotation and exectute it. The method should not require parameters and should be declared static. The return type of the method should be: String. The string returned by this method is compared to either the string defined in the output field, or with the contents of the file indicated by filename(). If both filename and output are specified, then only output is used and the file is ignored.
Author:
bfvdonge
  • Element Details

    • filename

      String filename
      Default:
      ""
    • output

      String output
      Default:
      ""
    • returnSystemOut

      boolean returnSystemOut
      Default:
      false