@Retention(value=RUNTIME) public @interface Deployment
Usage:
package org.example; ... public class ExampleTest { @Deployment public void testForADeploymentWithASingleResource() { // a deployment will be available in the engine repository // containing the single resource org/example/ExampleTest.testForADeploymentWithASingleResource.bpmn20.xml } @Deployment(resources = { "org/example/processOne.bpmn20.xml", "org/example/processTwo.bpmn20.xml", "org/example/some.other.resource" }) public void testForADeploymentWithASingleResource() { // a deployment will be available in the engine repository // containing the three resources }
public abstract String[] resources
Copyright © 2018. All rights reserved.