Files
pest/src/TestCaseMethodFilters/TodoTestCaseFilter.php
2024-07-04 00:53:58 +01:00

20 lines
393 B
PHP

<?php
declare(strict_types=1);
namespace Pest\TestCaseMethodFilters;
use Pest\Contracts\TestCaseMethodFilter;
use Pest\Factories\TestCaseMethodFactory;
final readonly class TodoTestCaseFilter implements TestCaseMethodFilter
{
/**
* Filter the test case methods.
*/
public function accept(TestCaseMethodFactory $factory): bool
{
return $factory->todo;
}
}