WordPress-Coding-Standards/phpunit.xml.dist
jrfnl a9d6ed3651 Tests: add a bootstrap file
While not strictly necessary, it makes life easier to have this bootstrap in place.

The bootstrap file will:
* Load the PHPCS autoloader (was previously done from the command-line);
* Load the Composer autoload file.
* Will automatically set the `PHPCS_IGNORE_TESTS` environment variable to the correct value to prevent running tests from other standards.
2020-06-30 19:33:42 +02:00

16 lines
455 B
XML

<?xml version="1.0" encoding="UTF-8"?>
<phpunit
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:noNamespaceSchemaLocation="https://schema.phpunit.de/6.3/phpunit.xsd"
backupGlobals="true"
bootstrap="./Tests/bootstrap.php"
beStrictAboutTestsThatDoNotTestAnything="false"
colors="true">
<testsuites>
<testsuite name="WordPress">
<directory suffix="UnitTest.php">./WordPress/Tests/</directory>
</testsuite>
</testsuites>
</phpunit>