2017-07-15 19:01:21 +02:00
|
|
|
<phpunit
|
2018-02-22 15:25:57 +01:00
|
|
|
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
|
|
|
xsi:noNamespaceSchemaLocation="vendor/phpunit/phpunit/phpunit.xsd"
|
2017-11-10 23:14:17 +01:00
|
|
|
bootstrap="tests/bootstrap.php"
|
2017-07-15 19:01:21 +02:00
|
|
|
colors="true"
|
|
|
|
verbose="true"
|
|
|
|
>
|
2019-04-26 15:32:24 +02:00
|
|
|
<php>
|
|
|
|
<const name="RECTOR_REPOSITORY" value="true"/>
|
|
|
|
</php>
|
2018-01-04 15:22:59 +01:00
|
|
|
<testsuites>
|
2018-07-25 15:29:42 +02:00
|
|
|
<testsuite name="main">
|
2020-02-11 14:11:47 +01:00
|
|
|
<directory>rules/*/tests</directory>
|
2018-02-21 15:43:55 +01:00
|
|
|
<directory>packages/*/tests</directory>
|
2018-07-25 15:29:42 +02:00
|
|
|
<directory>tests</directory>
|
2020-05-03 14:51:41 +02:00
|
|
|
<directory>utils/*/tests</directory>
|
2020-07-30 01:39:41 +02:00
|
|
|
<exclude>packages/rector-generator/templates/*</exclude>
|
2020-08-07 11:30:05 +02:00
|
|
|
<exclude>packages/rector-generator/tests/RectorGenerator/Fixture/expected</exclude>
|
2020-07-30 01:39:41 +02:00
|
|
|
<exclude>rules/nette-tester-to-phpunit/tests/Rector/RenameTesterTestToPHPUnitToTestFileRector/Source/*</exclude>
|
2018-01-04 15:22:59 +01:00
|
|
|
</testsuite>
|
|
|
|
</testsuites>
|
2018-07-25 15:29:42 +02:00
|
|
|
|
|
|
|
<filter>
|
|
|
|
<whitelist addUncoveredFilesFromWhitelist="false">
|
2020-02-11 14:11:47 +01:00
|
|
|
<directory suffix=".php">rules/*/src</directory>
|
2019-12-21 13:07:30 +01:00
|
|
|
<directory suffix=".php">packages/*/src</directory>
|
2018-07-25 15:29:42 +02:00
|
|
|
<directory>src</directory>
|
2020-06-24 19:05:01 +02:00
|
|
|
|
|
|
|
<exclude>
|
|
|
|
<file>rules/nette-tester-to-phpunit/tests/Rector/RenameTesterTestToPHPUnitToTestFileRector/Source/SomeCase.phpt</file>
|
|
|
|
</exclude>
|
2018-07-25 15:29:42 +02:00
|
|
|
</whitelist>
|
|
|
|
</filter>
|
2020-07-02 15:04:52 +02:00
|
|
|
|
|
|
|
<listeners>
|
|
|
|
<listener class="JohnKary\PHPUnit\Listener\SpeedTrapListener">
|
|
|
|
<arguments>
|
|
|
|
<array>
|
|
|
|
<element key="slowThreshold">
|
2020-07-16 20:43:41 +02:00
|
|
|
<integer>800</integer>
|
2020-07-02 15:04:52 +02:00
|
|
|
</element>
|
|
|
|
<element key="reportLength">
|
2020-07-16 20:43:41 +02:00
|
|
|
<integer>3</integer>
|
2020-07-02 15:04:52 +02:00
|
|
|
</element>
|
|
|
|
</array>
|
|
|
|
</arguments>
|
|
|
|
</listener>
|
|
|
|
</listeners>
|
2017-07-15 19:01:21 +02:00
|
|
|
</phpunit>
|