Annotation Type Timeout
Maximum execution time for a single test method. Test methods are defined as
any instance-scope
TestRule
s, Before
and After
hooks
and Test
methods. Suite class's constructor is not part of the
measured code (see TimeoutSuite
).
Overrides a global default RandomizedRunner.DEFAULT_TIMEOUT
or a
system property override SysGlobals.SYSPROP_TIMEOUT
.
- See Also:
-
Required Element Summary
Required Elements
-
Element Details
-
millis
int millisTimeout time in millis. The timeout time is approximate, it may take longer to actually abort the test case.
-