rector/phpunit.xml

50 lines
1.8 KiB
XML
Raw Normal View History

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"
>
<php>
<const name="RECTOR_REPOSITORY" value="true"/>
</php>
<testsuites>
2018-07-25 15:29:42 +02:00
<testsuite name="main">
<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>
<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>
</testsuite>
</testsuites>
2018-07-25 15:29:42 +02:00
<filter>
<whitelist addUncoveredFilesFromWhitelist="false">
<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>
<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>