|
| 1 | +<?xml version="1.0" encoding="UTF-8"?> |
| 2 | + |
| 3 | +<phpunit xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" bootstrap="./web/core/tests/bootstrap.php" colors="true" |
| 4 | + beStrictAboutTestsThatDoNotTestAnything="true" |
| 5 | + beStrictAboutOutputDuringTests="true" |
| 6 | + beStrictAboutChangesToGlobalState="true" |
| 7 | + printerClass="\Drupal\Tests\Listeners\HtmlOutputPrinter"> |
| 8 | + <coverage> |
| 9 | + <include> |
| 10 | + <directory>./web/modules/custom</directory> |
| 11 | + </include> |
| 12 | + <exclude> |
| 13 | + <directory suffix="Test.php">./</directory> |
| 14 | + <directory suffix="TestBase.php">./</directory> |
| 15 | + </exclude> |
| 16 | + </coverage> |
| 17 | + <php> |
| 18 | + <!-- Set error reporting to E_ALL. --> |
| 19 | + <ini name="error_reporting" value="32767"/> |
| 20 | + <ini name="memory_limit" value="-1"/> |
| 21 | + <ini name="max_execution_time" value="0"/> |
| 22 | + <env name="BROWSERTEST_OUTPUT_DIRECTORY" value="/code/web/sites/simpletest/browser_output" /> |
| 23 | + <env name="DTT_HTML_OUTPUT_DIRECTORY" value="/code/web/sites/simpletest/browser_output" /> |
| 24 | + <env name="SIMPLETEST_BASE_URL" value="http://web:8080"/> |
| 25 | + <!-- See \weitzman\DrupalTestTraits\MinkSetup --> |
| 26 | + <env name="DTT_BASE_URL" value="http://web:8080"/> |
| 27 | + <!-- See \weitzman\DrupalTestTraits\WebDriverSetup --> |
| 28 | + <env name="DTT_MINK_DRIVER_ARGS" value="["chrome", { "chromeOptions": { "w3c": false, "args": ["--disable-dev-shm-usage"] } }, "http://selenium:4444/wd/hub"]"/> |
| 29 | + <env name="SIMPLETEST_DB" value="mysql://user:password@db/drupal"/> |
| 30 | + <const name="BOOTSTRAP_IS_PHPUNIT" value="true"/> |
| 31 | + <!-- To disable deprecation testing completely set SYMFONY_DEPRECATIONS_HELPER value: 'disabled' --> |
| 32 | + <env name="SYMFONY_DEPRECATIONS_HELPER" value="disabled"/> |
| 33 | + </php> |
| 34 | + <testsuites> |
| 35 | + <testsuite name="unit"> |
| 36 | + <directory>./web/modules/custom/*/tests/src/Unit</directory> |
| 37 | + <directory>./web/profiles/*/tests/src/Unit</directory> |
| 38 | + </testsuite> |
| 39 | + <testsuite name="kernel"> |
| 40 | + <directory>./web/modules/custom/*/tests/src/Kernel</directory> |
| 41 | + <directory>./web/profiles/*/tests/src/Kernel</directory> |
| 42 | + </testsuite> |
| 43 | + <testsuite name="functional"> |
| 44 | + <directory>./web/modules/custom/*/tests/src/Functional</directory> |
| 45 | + <directory>./web/profiles/*/tests/src/Functional</directory> |
| 46 | + </testsuite> |
| 47 | + <testsuite name="functional-javascript"> |
| 48 | + <directory>./web/modules/custom/*/tests/src/FunctionalJavascript</directory> |
| 49 | + <directory>./web/profiles/*/tests/src/FunctionalJavascript</directory> |
| 50 | + </testsuite> |
| 51 | + </testsuites> |
| 52 | + <listeners> |
| 53 | + <listener class="\Drupal\Tests\Listeners\DrupalListener"> |
| 54 | + </listener> |
| 55 | + <!-- The Symfony deprecation listener has to come after the Drupal listener --> |
| 56 | + <listener class="Symfony\Bridge\PhpUnit\SymfonyTestsListener"> |
| 57 | + </listener> |
| 58 | + </listeners> |
| 59 | +</phpunit> |
0 commit comments