mirror of
https://github.com/pestphp/pest.git
synced 2026-07-25 19:10:02 +02:00
add tests for directory and file patterns
This commit is contained in:
@@ -0,0 +1,7 @@
|
|||||||
|
<?php
|
||||||
|
|
||||||
|
uses(Tests\CustomTestCase\CustomTestCase::class)->in('../*/');
|
||||||
|
|
||||||
|
test('closure was bound to CustomTestCase', function () {
|
||||||
|
$this->assertCustomTrue();
|
||||||
|
});
|
||||||
@@ -0,0 +1,7 @@
|
|||||||
|
<?php
|
||||||
|
|
||||||
|
uses(Tests\CustomTestCase\CustomTestCase::class)->in('*.php');
|
||||||
|
|
||||||
|
test('closure was bound to CustomTestCase', function () {
|
||||||
|
$this->assertCustomTrue();
|
||||||
|
});
|
||||||
Reference in New Issue
Block a user