Annotation Interface IvyProcessTest


@Retention(RUNTIME) @Target(TYPE) @Inherited @ExtendWith(ch.ivyteam.ivy.server.internal.test.StartedEngineDeployAppJu5Ext.class) @ExtendWith(ch.ivyteam.ivy.bpm.exec.client.internal.IvyProcessTestJu5Ext.class) public @interface IvyProcessTest
Provides JUNIT test API to interact with ivy processes.

Mark any Test source class with this annotation and start writing process test by using the BpmClient.

 @IvyProcessTest
 public class MyProcessTest{
   @Test
   public void callBpmProcess(BpmClient bpmClient) throws Exception{
     ExecutionResult result = bpmClient.request("152126EEDC0B8BE8/sendSignalForStart.ivp").execute();
     assertThat(result).isNotNull();
   }
 }

Use the AppFixture to temporary change the active environment or variables of the application in your tests

Since:
9.1
See Also:
API:
This is a public API.