@Target(value=TYPE) @Retention(value=RUNTIME) @Documented public @interface IntegrationTest
The @IntegrationTest annotation is provided for marking integration tests which uses real services and
usually will communicate with persistence layer.
With the annotation attribute standalone you can specify whether current test requires some servlet
container available during test run, like for instance Apache Tomcat.
With the annotation attribute excludedAppserver you can specify in a comma separated string list the
application server(s) where this test (with this annotation) should not be executed. The application server string is
the value of the property key bundled.server.type. Example: "websphere,tomcat"
| Modifier and Type | Optional Element and Description |
|---|---|
String |
excludedAppserver
Comma separated list of application server where the test with this annotation should NOT be executed.
|
Class |
replaces
Contains the test class to be replaced by this class.
|
boolean |
standalone
Determines whether test requires servlet container available.
|
public abstract boolean standalone
public abstract Class replaces
public abstract String excludedAppserver
Copyright © 2017 SAP SE. All Rights Reserved.