add tests for directory and file patterns

This commit is contained in:
Mohammad Zahed
2023-06-08 14:50:25 +03:00
parent 86a765b06b
commit e00efb1b6d
2 changed files with 14 additions and 0 deletions

View File

@ -0,0 +1,7 @@
<?php
uses(Tests\CustomTestCase\CustomTestCase::class)->in('../*/');
test('closure was bound to CustomTestCase', function () {
$this->assertCustomTrue();
});

View File

@ -0,0 +1,7 @@
<?php
uses(Tests\CustomTestCase\CustomTestCase::class)->in('*.php');
test('closure was bound to CustomTestCase', function () {
$this->assertCustomTrue();
});