2017-07-15 19:01:21 +02:00
|
|
|
<phpunit
|
2017-11-10 23:14:17 +01:00
|
|
|
bootstrap="tests/bootstrap.php"
|
2017-07-15 19:01:21 +02:00
|
|
|
colors="true"
|
|
|
|
verbose="true"
|
|
|
|
>
|
2018-01-04 15:22:59 +01:00
|
|
|
<testsuites>
|
|
|
|
<!-- only contrib open-source project Rectors -->
|
|
|
|
<testsuite name="contrib-rectors">
|
|
|
|
<directory>tests/Rector/Contrib</directory>
|
|
|
|
</testsuite>
|
|
|
|
<!-- only general configurable Rectors -->
|
|
|
|
<testsuite name="general-rectors">
|
|
|
|
<directory>tests/Rector/Dynamic</directory>
|
|
|
|
<directory>tests/Rector/MagicDisclosure</directory>
|
|
|
|
</testsuite>
|
|
|
|
<!-- and the rest -->
|
|
|
|
<testsuite name="main">
|
|
|
|
<directory>packages/*/tests</directory>
|
|
|
|
<directory>tests</directory>
|
|
|
|
<exclude>tests/Rector/Dynamic/</exclude>
|
|
|
|
<exclude>tests/Rector/MagicDisclosure/</exclude>
|
|
|
|
<exclude>tests/Rector/Contrib/</exclude>
|
|
|
|
</testsuite>
|
|
|
|
</testsuites>
|
|
|
|
|
2017-07-15 19:01:21 +02:00
|
|
|
<!-- source to check coverage for -->
|
|
|
|
<filter>
|
2017-12-22 10:41:40 +01:00
|
|
|
<whitelist addUncoveredFilesFromWhitelist="false">
|
|
|
|
<directory suffix="*.php">packages/*/src</directory>
|
2017-08-20 17:20:33 +02:00
|
|
|
<directory>src</directory>
|
2017-12-22 10:41:40 +01:00
|
|
|
<exclude>
|
|
|
|
<directory>../vendor</directory>
|
|
|
|
<directory>../tests/**/*Source/**</directory>
|
|
|
|
</exclude>
|
2017-07-15 19:01:21 +02:00
|
|
|
</whitelist>
|
|
|
|
</filter>
|
|
|
|
</phpunit>
|