Annotation Type Deployment
-
@Documented @Retention(RUNTIME) @Target(METHOD) public @interface Deployment
The@Deploymentis used to define which methods should be be considered as deployment producers. Arquillian support two types of deployment units, aArchiveor aDescriptor.A deployment represent the isolation level of your test, that being a single JavaArchive or a multi module EnterpriseArchive.
The deployment producer will be executed to create the deployment before the Test run, this to detect environment problems as soon as possible.
Usage Example:
@Deployment public static WebArchive create() { return ShrinkWrap.create(WebArchive.class); } @Deployment public static Descriptor create() { return Descriptors.create(HornetQDescriptor.class); }- Version:
- $Revision: $
- Author:
- Aslak Knutsen
-
-
Optional Element Summary
Optional Elements Modifier and Type Optional Element Description booleanmanagedDescribes whether or not this deployment should be deployed by Arquillian.StringnameName the deployment so you can reference it using theDeployerAPI if managed is false or method is usingintorderIf multiple deployments are specified against the same target and defined as startup, this control the order of which they will be given to the Container.booleantestableDefines if this deployment should be wrapped up based on the protocol so the testcase can be executed incontainer.
-