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:
Adrien Crivelli
2020-05-17 18:35:55 +09:00
parent 7517cdd008
commit e868e58d20
229 changed files with 364 additions and 369 deletions
@@ -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];
}
}