Annotation Type TimeoutSuite
-
@Retention(RUNTIME) @Target(TYPE) @Inherited public @interface TimeoutSuite
Maximum execution time for an entire suite (including all hooks and tests). Suite is defined as any class-scopeTestRule
s,BeforeClass
andAfterClass
hooks, suite class's constructor, instance-scopeTestRule
s,Before
andAfter
hooks andTest
methods.The suite class's static initializer is not part of the measured code (if you have static initializers in your tests, get rid of them).
Overrides the global default
RandomizedRunner.DEFAULT_TIMEOUT
or a system property overrideSysGlobals.SYSPROP_TIMEOUT
.- See Also:
Timeout
-
-
Required Element Summary
Required Elements Modifier and Type Required Element Description int
millis
Timeout time in millis.
-