Pathologic was missing because of a .git folder inside.
[yaffs-website] / web / core / phpunit.xml.dist
1 <?xml version="1.0" encoding="UTF-8"?>
2
3 <!-- TODO set checkForUnintentionallyCoveredCode="true" once https://www.drupal.org/node/2626832 is resolved. -->
4 <!-- PHPUnit expects functional tests to be run with either a privileged user
5  or your current system user. See core/tests/README.md and
6  https://www.drupal.org/node/2116263 for details.
7 -->
8 <phpunit bootstrap="tests/bootstrap.php" colors="true"
9          beStrictAboutTestsThatDoNotTestAnything="true"
10          beStrictAboutOutputDuringTests="true"
11          beStrictAboutChangesToGlobalState="true"
12          checkForUnintentionallyCoveredCode="false">
13 <!-- TODO set printerClass="\Drupal\Tests\Listeners\HtmlOutputPrinter" once
14  https://youtrack.jetbrains.com/issue/WI-24808 is resolved. Drupal provides a
15  result printer that links to the html output results for functional tests.
16  Unfortunately, this breaks the output of PHPStorm's PHPUnit runner. However, if
17  using the command line you can add
18  - -printer="\Drupal\Tests\Listeners\HtmlOutputPrinter" to use it (note there
19  should be no spaces between the hyphens).
20 -->
21   <php>
22     <!-- Set error reporting to E_ALL. -->
23     <ini name="error_reporting" value="32767"/>
24     <!-- Do not limit the amount of memory tests take to run. -->
25     <ini name="memory_limit" value="-1"/>
26     <!-- Example SIMPLETEST_BASE_URL value: http://localhost -->
27     <env name="SIMPLETEST_BASE_URL" value=""/>
28     <!-- Example SIMPLETEST_DB value: mysql://username:password@localhost/databasename#table_prefix -->
29     <env name="SIMPLETEST_DB" value=""/>
30     <!-- Example BROWSERTEST_OUTPUT_DIRECTORY value: /path/to/webroot/sites/simpletest/browser_output -->
31     <env name="BROWSERTEST_OUTPUT_DIRECTORY" value=""/>
32   </php>
33   <testsuites>
34     <testsuite name="unit">
35       <file>./tests/TestSuites/UnitTestSuite.php</file>
36     </testsuite>
37     <testsuite name="kernel">
38       <file>./tests/TestSuites/KernelTestSuite.php</file>
39     </testsuite>
40     <testsuite name="functional">
41       <file>./tests/TestSuites/FunctionalTestSuite.php</file>
42     </testsuite>
43     <testsuite name="functional-javascript">
44       <file>./tests/TestSuites/FunctionalJavascriptTestSuite.php</file>
45     </testsuite>
46   </testsuites>
47   <listeners>
48     <listener class="\Drupal\Tests\Listeners\DrupalStandardsListener">
49     </listener>
50   </listeners>
51   <!-- Filter for coverage reports. -->
52   <filter>
53     <whitelist>
54       <directory>./includes</directory>
55       <directory>./lib</directory>
56       <directory>./modules</directory>
57       <directory>../modules</directory>
58       <directory>../sites</directory>
59       <!-- By definition test classes have no tests. -->
60       <exclude>
61         <directory suffix="Test.php">./</directory>
62         <directory suffix="TestBase.php">./</directory>
63       </exclude>
64      </whitelist>
65   </filter>
66 </phpunit>