add more tests

This commit is contained in:
Adrian Nürnberger
2020-06-19 23:22:14 +02:00
parent 45b0d5d899
commit 6aa0356570
2 changed files with 9 additions and 3 deletions

View File

@ -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

View File

@ -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();