1
0
Fork 0
mirror of synced 2024-06-29 11:40:45 +12:00
appwrite/tests/extensions/Retry.php

17 lines
311 B
PHP
Raw Normal View History

<?php
namespace Appwrite\Tests;
/**
* Allows test methods to be retried if they fail.
*
* Requires that the test class extends {@see TestCase} and has trait {@see Retryable}.
*/
#[\Attribute(\Attribute::TARGET_METHOD)]
2022-08-30 23:10:15 +12:00
class Retry
{
2022-08-30 23:10:15 +12:00
public function __construct(protected int $count = 1)
{
}
}