2013-03-07 02:48:50 +00:00
|
|
|
<?xml version="1.0" encoding="UTF-8"?>
|
|
|
|
|
2015-12-07 14:37:15 +00:00
|
|
|
<!-- TODO set checkForUnintentionallyCoveredCode="true" once https://www.drupal.org/node/2626832 is resolved. -->
|
2016-09-02 16:07:07 +00:00
|
|
|
<!-- PHPUnit expects functional tests to be run with either a privileged user
|
|
|
|
or your current system user. See core/tests/README.md and
|
|
|
|
https://www.drupal.org/node/2116263 for details.
|
2016-04-14 23:51:16 +00:00
|
|
|
-->
|
2015-12-07 14:37:15 +00:00
|
|
|
<phpunit bootstrap="tests/bootstrap.php" colors="true"
|
|
|
|
beStrictAboutTestsThatDoNotTestAnything="true"
|
|
|
|
beStrictAboutOutputDuringTests="true"
|
2019-06-23 11:32:48 +00:00
|
|
|
beStrictAboutChangesToGlobalState="true"
|
|
|
|
printerClass="\Drupal\Tests\Listeners\HtmlOutputPrinter">
|
2014-03-10 11:20:41 +00:00
|
|
|
<php>
|
|
|
|
<!-- Set error reporting to E_ALL. -->
|
|
|
|
<ini name="error_reporting" value="32767"/>
|
|
|
|
<!-- Do not limit the amount of memory tests take to run. -->
|
|
|
|
<ini name="memory_limit" value="-1"/>
|
Issue #2232861 by grom358, daffie, alexpott, larowlan, pfrenssen, hussainweb, pcambra, jibran, phenaproxima, moshe weitzman, nick_schuch: Create BrowserTestBase for web-testing on top of Mink
2015-04-12 11:08:53 +00:00
|
|
|
<!-- Example SIMPLETEST_BASE_URL value: http://localhost -->
|
2016-04-26 13:43:36 +00:00
|
|
|
<env name="SIMPLETEST_BASE_URL" value=""/>
|
Issue #2232861 by grom358, daffie, alexpott, larowlan, pfrenssen, hussainweb, pcambra, jibran, phenaproxima, moshe weitzman, nick_schuch: Create BrowserTestBase for web-testing on top of Mink
2015-04-12 11:08:53 +00:00
|
|
|
<!-- Example SIMPLETEST_DB value: mysql://username:password@localhost/databasename#table_prefix -->
|
2016-04-26 13:43:36 +00:00
|
|
|
<env name="SIMPLETEST_DB" value=""/>
|
2016-04-13 23:13:58 +00:00
|
|
|
<!-- Example BROWSERTEST_OUTPUT_DIRECTORY value: /path/to/webroot/sites/simpletest/browser_output -->
|
2016-04-26 13:43:36 +00:00
|
|
|
<env name="BROWSERTEST_OUTPUT_DIRECTORY" value=""/>
|
2018-05-11 14:20:00 +00:00
|
|
|
<!-- To disable deprecation testing completely uncomment the next line. -->
|
|
|
|
<!-- <env name="SYMFONY_DEPRECATIONS_HELPER" value="disabled"/> -->
|
Issue #2775653 by dawehner, droplet, michielnugter, Lendude, jibran, alexpott, Mixologic, klausi, juampynr, cosmicdreams, cspitzlay, justafish, drpal, larowlan, claudiu.cristea, Berdir, Mile23, andypost, xjm, mtodor: JavascriptTests with webDriver
2018-02-03 09:54:09 +00:00
|
|
|
<!-- Example for changing the driver class for mink tests MINK_DRIVER_CLASS value: 'Drupal\FunctionalJavascriptTests\DrupalSelenium2Driver' -->
|
2017-11-28 09:02:34 +00:00
|
|
|
<!-- Example for changing the driver args to mink tests MINK_DRIVER_ARGS value: '["http://127.0.0.1:8510"]' -->
|
|
|
|
<!-- Example for changing the driver args to phantomjs tests MINK_DRIVER_ARGS_PHANTOMJS value: '["http://127.0.0.1:8510"]' -->
|
Issue #2775653 by dawehner, droplet, michielnugter, Lendude, jibran, alexpott, Mixologic, klausi, juampynr, cosmicdreams, cspitzlay, justafish, drpal, larowlan, claudiu.cristea, Berdir, Mile23, andypost, xjm, mtodor: JavascriptTests with webDriver
2018-02-03 09:54:09 +00:00
|
|
|
<!-- Example for changing the driver args to webdriver tests MINK_DRIVER_ARGS_WEBDRIVER value: '["firefox", null, "http://localhost:4444/wd/hub"]' -->
|
2014-03-10 11:20:41 +00:00
|
|
|
</php>
|
2013-03-07 02:48:50 +00:00
|
|
|
<testsuites>
|
Issue #2232861 by grom358, daffie, alexpott, larowlan, pfrenssen, hussainweb, pcambra, jibran, phenaproxima, moshe weitzman, nick_schuch: Create BrowserTestBase for web-testing on top of Mink
2015-04-12 11:08:53 +00:00
|
|
|
<testsuite name="unit">
|
2016-06-24 16:36:21 +00:00
|
|
|
<file>./tests/TestSuites/UnitTestSuite.php</file>
|
Issue #2232861 by grom358, daffie, alexpott, larowlan, pfrenssen, hussainweb, pcambra, jibran, phenaproxima, moshe weitzman, nick_schuch: Create BrowserTestBase for web-testing on top of Mink
2015-04-12 11:08:53 +00:00
|
|
|
</testsuite>
|
Issue #2304461 by dawehner, neclimdul, naveenvalecha, jibran, tim.plunkett, phenaproxima, Xano, hussainweb, sun, hitesh-jain, amateescu, alexpott, daffie, Mile23, Wim Leers, larowlan: KernelTestBaseTNG™
2015-08-18 00:25:27 +00:00
|
|
|
<testsuite name="kernel">
|
2016-06-24 16:36:21 +00:00
|
|
|
<file>./tests/TestSuites/KernelTestSuite.php</file>
|
Issue #2304461 by dawehner, neclimdul, naveenvalecha, jibran, tim.plunkett, phenaproxima, Xano, hussainweb, sun, hitesh-jain, amateescu, alexpott, daffie, Mile23, Wim Leers, larowlan: KernelTestBaseTNG™
2015-08-18 00:25:27 +00:00
|
|
|
</testsuite>
|
Issue #2232861 by grom358, daffie, alexpott, larowlan, pfrenssen, hussainweb, pcambra, jibran, phenaproxima, moshe weitzman, nick_schuch: Create BrowserTestBase for web-testing on top of Mink
2015-04-12 11:08:53 +00:00
|
|
|
<testsuite name="functional">
|
2016-06-24 16:36:21 +00:00
|
|
|
<file>./tests/TestSuites/FunctionalTestSuite.php</file>
|
2013-03-07 02:48:50 +00:00
|
|
|
</testsuite>
|
Issue #2469713 by dawehner, pfrenssen, alexpott, elachlan, Mixologic, larowlan, hussainweb, benjy, jibran, Wim Leers, isntall: Step 2: Create a JavaScriptTestBase using PhantomJs Driver/Binary
2016-04-07 11:25:35 +00:00
|
|
|
<testsuite name="functional-javascript">
|
2016-06-24 16:36:21 +00:00
|
|
|
<file>./tests/TestSuites/FunctionalJavascriptTestSuite.php</file>
|
Issue #2469713 by dawehner, pfrenssen, alexpott, elachlan, Mixologic, larowlan, hussainweb, benjy, jibran, Wim Leers, isntall: Step 2: Create a JavaScriptTestBase using PhantomJs Driver/Binary
2016-04-07 11:25:35 +00:00
|
|
|
</testsuite>
|
2013-03-07 02:48:50 +00:00
|
|
|
</testsuites>
|
2015-02-17 15:55:36 +00:00
|
|
|
<listeners>
|
2017-12-12 20:55:11 +00:00
|
|
|
<listener class="\Drupal\Tests\Listeners\DrupalListener">
|
2017-11-09 12:51:06 +00:00
|
|
|
</listener>
|
2017-12-12 20:55:11 +00:00
|
|
|
<!-- The Symfony deprecation listener has to come after the Drupal listener -->
|
2017-05-03 11:33:31 +00:00
|
|
|
<listener class="Symfony\Bridge\PhpUnit\SymfonyTestsListener">
|
|
|
|
</listener>
|
2015-02-17 15:55:36 +00:00
|
|
|
</listeners>
|
2013-10-07 16:56:43 +00:00
|
|
|
<!-- Filter for coverage reports. -->
|
|
|
|
<filter>
|
2014-06-17 20:47:19 +00:00
|
|
|
<whitelist>
|
|
|
|
<directory>./includes</directory>
|
|
|
|
<directory>./lib</directory>
|
|
|
|
<directory>./modules</directory>
|
|
|
|
<directory>../modules</directory>
|
|
|
|
<directory>../sites</directory>
|
2018-09-11 11:29:16 +00:00
|
|
|
<!-- Exclude all test modules, tests etc -->
|
|
|
|
<exclude-pattern>*/tests/*</exclude-pattern>
|
2014-06-17 20:47:19 +00:00
|
|
|
</whitelist>
|
2013-10-07 16:56:43 +00:00
|
|
|
</filter>
|
2013-03-07 02:48:50 +00:00
|
|
|
</phpunit>
|