Annotation Type WhileProcessing


  • @Documented
    @Retention(RUNTIME)
    @Target(METHOD)
    public @interface WhileProcessing
    Use this annotation on JUnit test methods in an extension of TestsWithProcessesBefore to declare by which processes the test method will be called for each step while the processes are running. The annotated JUnit test method may then call the TestsWithProcessesBefore.getProcessCurrent(Class) method to get the "current" object set by the running process.

    You can use both WhileProcessing and WillReportAfterProcesses annotations on a same test method.

    Author:
    David Andrianavalontsalama
    • Optional Element Summary

      Optional Elements 
      Modifier and Type Optional Element Description
      java.lang.Class<? extends AbstractProcess<?,​?>>[] value  
    • Element Detail

      • value

        java.lang.Class<? extends AbstractProcess<?,​?>>[] value
        Default:
        {}