Petals-SE-Flowable 1.5.0+

compared with
Key
This line was removed.
This word was removed. This word was added.
This line was added.

Changes (4)

View Page History
{code}

So, with this, you will be able to test the deployment of your process definition and check process instance creations using the Petals Flowable JUnit framework:
So, with this, you will be able to test the deployment of your process definition and check process instance creations using the Petals Flowable JUnit framework where optional arguments '{{processEngine}}'' and '{{placeholders}}' of the test method are automatically injected through the annotation '{{PetalsFlowableTest}}':
{code:java}
@PetalsFlowableTest
@Test
@Deployment(resources = {"jbi/vacationRequest.bpmn20.xml"})
public void theProcessIsDeployableAndInstanciable(final ProcessEngine processEngine, final Placeholders placeholders) {

placeholders.setPlaceholder("my-placeholder", "my-placeholder-value");

final ProcessDefinition processDefinition = processEngine.getRepositoryService()
.createProcessDefinitionQuery().processDefinitionKey("vacationRequest").singleResult();