Files
pest/tests/.tests/Failure.php
2023-01-11 09:37:12 +01:00

27 lines
433 B
PHP

<?php
declare(strict_types=1);
it('can fail with comparison', function () {
expect(true)->toEqual(false);
});
it('can be ignored because of no assertions', function () {
});
it('can be ignored because it is skipped', function () {
expect(true)->toBeTrue();
})->skip("this is why");
it('can fail', function () {
$this->fail("oh noo");
});
it('is not done yet', function () {
})->todo();
todo("build this one.");