Adds support for incompleted tests

This commit is contained in:
Nuno Maduro
2021-06-10 19:20:16 +01:00
parent 95e8add29b
commit 49de462250
3 changed files with 35 additions and 3 deletions

View File

@ -0,0 +1,19 @@
<?php
it('is incompleted');
it('is incompleted even with method calls like skip')->skip(false);
it('is incompleted even with method calls like group')->group('wtv');
it('is not incompleted because of expect')->expect(true)->toBeTrue();
it('is not incompleted because of assert')->assertTrue(true);
it('is not incompleted because of test with no assertions', function () {
// ...
});
it('is not incompleted because of test with assertions', function () {
expect(true)->toBeTrue();
});