mirror of
https://github.com/pestphp/pest.git
synced 2026-03-06 15:57:21 +01: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();
|
||||
});
|
||||
7
tests/PHPUnit/CustomTestCase/UsesPerFileAsPattern.php
Normal file
7
tests/PHPUnit/CustomTestCase/UsesPerFileAsPattern.php
Normal file
@ -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