Package ch.ivyteam.ivy.bpm.exec.client
Annotation Type IvyProcessTest
-
@Retention(RUNTIME) @Target(TYPE) @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 global variables of the application in your tests- Since:
- 9.1
- See Also:
BpmClient
,IvyTest
,AppFixture
- API:
- This is a public API.