diff --git a/tests/.snapshots/success.txt b/tests/.snapshots/success.txt index 3e6832ec..3f9845ae 100644 --- a/tests/.snapshots/success.txt +++ b/tests/.snapshots/success.txt @@ -42,13 +42,15 @@ ✓ eager registered wrapped datasets did the job right ✓ lazy named datasets with (Bar Object (...)) - PASS Tests\Features\Depends + WARN Tests\Features\Depends ✓ first ✓ second ✓ depends ✓ depends with ...params ✓ depends with defined arguments ✓ depends run test only once + s incomplete → incomplete + w depends on incomplete → This test depends on "P\Tests\Features\Depends::incomplete" which does not exist. PASS Tests\Features\Exceptions ✓ it gives access the the underlying expectException @@ -152,5 +154,5 @@ WARN Tests\Visual\Success s visual snapshot of test suite on success - Tests: 6 skipped, 85 passed - Time: 2.60s + Tests: 1 warnings, 7 skipped, 85 passed + Time: 2.65s diff --git a/tests/Features/Depends.php b/tests/Features/Depends.php index 0e7ed5ea..9a46034c 100644 --- a/tests/Features/Depends.php +++ b/tests/Features/Depends.php @@ -38,3 +38,7 @@ test('depends with defined arguments', function (string $first, string $second) test('depends run test only once', function () use (&$runCounter) { assertEquals(2, $runCounter); })->depends('first', 'second'); + +test('incomplete')->skip('incomplete'); + +test('depends on incomplete')->depends('incomplete')->doesNotPerformAssertions();