Annotation Type 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
    • Optional Element Summary

      Optional Elements 
      Modifier and Type Optional Element Description
      java.lang.String filename  
      java.lang.String output  
      boolean returnSystemOut  
    • Element Detail

      • filename

        java.lang.String filename
        Default:
        ""
      • output

        java.lang.String output
        Default:
        ""
      • returnSystemOut

        boolean returnSystemOut
        Default:
        false