mirror of
https://github.com/rectorphp/rector.git
synced 2025-01-19 14:27:14 +01:00
39 lines
1.3 KiB
XML
39 lines
1.3 KiB
XML
<phpunit
|
|
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
|
xsi:noNamespaceSchemaLocation="vendor/phpunit/phpunit/phpunit.xsd"
|
|
bootstrap="tests/bootstrap.php"
|
|
colors="true"
|
|
verbose="true"
|
|
>
|
|
<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>
|
|
|
|
<!-- source to check coverage for -->
|
|
<filter>
|
|
<whitelist addUncoveredFilesFromWhitelist="false">
|
|
<directory suffix="*.php">packages/*/src</directory>
|
|
<directory>src</directory>
|
|
<exclude>
|
|
<directory>../tests/**/*Source/**</directory>
|
|
</exclude>
|
|
</whitelist>
|
|
</filter>
|
|
</phpunit>
|