feat: allows to chain todo

This commit is contained in:
Nuno Maduro
2023-01-10 20:21:33 +00:00
parent 51bcf6a2be
commit e228d565af
6 changed files with 30 additions and 7 deletions

View File

@ -170,6 +170,16 @@ final class TestCall
return $this;
}
/**
* Sets the test as "todo".
*/
public function todo(): self
{
$this->skip('__TODO__');
return $this;
}
/**
* Sets the covered classes or methods.
*/