patterntesting.runtime.annotation
Annotation Type IntegrationTest


@Documented
@Target(value={METHOD,TYPE})
@Retention(value=RUNTIME)
public @interface IntegrationTest

This annotation allows you to mark classes which are not really a unit test but a integration test. By default this classes are not executed by a normal test run with JUnit. Only if you set the system property Environment.INTEGRATION_TEST these tests will executed. You can use this annotation if

Since:
1.0 (05.03.2010)
Author:
oliver

Optional Element Summary
 String value
          You can give a reason why this test is an integration test or should be skipped, e.g.
 

value

public abstract String value
You can give a reason why this test is an integration test or should be skipped, e.g. "needs online access". This reason is printed to the log.

Default:
"this is marked as @IntegrationTest"


Copyright © 2002–2014 PatternTesting Team. All rights reserved.