TestCaseRetry
in package
A class to represent retry settings for test cases. This is intended to be defined in methods as a method attribute.
Attributes
- #[Attribute]
- \Attribute::TARGET_METHOD
Table of Contents
Properties
Methods
- __construct() : mixed
Properties
$delay
public
int
$delay
= 0
$retries
public
int
$retries
= 0
Methods
__construct()
public
__construct([int $retries = 0 ][, int $delay = 0 ]) : mixed
Parameters
- $retries : int = 0
-
The number of retries to attempt
- $delay : int = 0
-
The delay in seconds between retries