1
0
Fork 0
mirror of synced 2024-07-01 20:50:49 +12:00
appwrite/tests/extensions/FlakyTest.php

17 lines
317 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)]
class FlakyTest
{
public function __construct(protected int $retries = 1)
{
}
}