Package de.hybris.bootstrap.annotations
Annotation 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"
-
Optional Element Summary
Optional ElementsModifier and TypeOptional ElementDescriptionComma separated list of application server where the test with this annotation should NOT be executed.Contains the test class to be replaced by this class.booleanDetermines whether test requires servlet container available.
-
Element Details
-
standalone
boolean standaloneDetermines whether test requires servlet container available.- Default:
- false
-
replaces
Class replacesContains the test class to be replaced by this class.- Default:
- de.hybris.bootstrap.annotations.IntegrationTest.class
-
excludedAppserver
String excludedAppserverComma separated list of application server where the test with this annotation should NOT be executed.- Default:
- ""
-