@small

@small

The @small annotation is an alias for @group small. A small test must not depend on a test marked as @medium or @large.

If the PHP_Invoker package is installed and strict mode is enabled, a small test will fail if it takes longer than 1 second to execute. This timeout is configurable via the timeoutForSmallTests attribute in the XML configuration file.

Tests need to be explicitly annotated by either @small, @medium, or @large to enable run time limits.

doc_PHPUnit
2016-10-16 15:37:32
Comments
Leave a Comment

Please login to continue.