feat: --todo flag

This commit is contained in:
Nuno Maduro
2023-01-15 20:51:27 +00:00
parent 3a4a57a262
commit 6982b02d48
12 changed files with 121 additions and 11 deletions

View File

@ -0,0 +1,16 @@
<?php
declare(strict_types=1);
namespace Pest\TestCaseMethodFilters;
use Pest\Contracts\TestCaseMethodFilter;
use Pest\Factories\TestCaseMethodFactory;
final class TodoTestCaseFilter implements TestCaseMethodFilter
{
public function accept(TestCaseMethodFactory $factory): bool
{
return $factory->todo;
}
}