mirror of
https://github.com/pestphp/pest.git
synced 2026-03-06 07:47:22 +01:00
WIP
This commit is contained in:
committed by
Nuno Maduro
parent
8d33c9dc89
commit
c319a8e84c
@ -369,12 +369,14 @@ final class WrapperRunner implements RunnerInterface
|
||||
{
|
||||
$this->debug(sprintf('Found %d test file%s', count($suiteLoader->files), count($suiteLoader->files) === 1 ? '' : 's'));
|
||||
|
||||
$tests = array_filter(
|
||||
$phpunitTests = array_filter(
|
||||
$suiteLoader->files,
|
||||
fn (string $filename): bool => ! str_ends_with($filename, "eval()'d code")
|
||||
);
|
||||
|
||||
return [...$tests, ...TestSuite::getInstance()->tests->getFilenames()];
|
||||
$pestTests = TestSuite::getInstance()->tests->getFilenames();
|
||||
|
||||
return [...$phpunitTests, ...$pestTests];
|
||||
}
|
||||
|
||||
private function debug(string $message): void
|
||||
|
||||
@ -2,4 +2,4 @@
|
||||
|
||||
test('closure was bound to CustomTestCase', function () {
|
||||
$this->assertCustomInSubFolderTrue();
|
||||
});
|
||||
})->only();
|
||||
|
||||
Reference in New Issue
Block a user