mirror of
https://github.com/PHPOffice/PhpSpreadsheet.git
synced 2026-10-08 04:46:26 +00:00
Allow to run an entire folder of tests
We now can do something like: ```sh ./vendor/bin/phpunit tests/PhpSpreadsheetTests/Reader/ ```
This commit is contained in:
@@ -48,7 +48,7 @@ class SampleTest extends TestCase
|
||||
foreach ($helper->getSamples() as $samples) {
|
||||
foreach ($samples as $sample) {
|
||||
if (!in_array($sample, $skipped)) {
|
||||
$file = '../samples/' . $sample;
|
||||
$file = 'samples/' . $sample;
|
||||
$result[] = [$file];
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user