Annotation Type WhileProcessing
-
@Documented @Retention(RUNTIME) @Target(METHOD) public @interface WhileProcessing
Use this annotation on JUnit test methods in an extension ofTestsWithProcessesBefore
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 theTestsWithProcessesBefore.getProcessCurrent(Class)
method to get the "current" object set by the running process.You can use both
WhileProcessing
andWillReportAfterProcesses
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:
- {}
-
-