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"
|
|
|
|
beStrictAboutChangesToGlobalState="true"
|
2016-04-14 23:51:16 +00:00
|
|
|
checkForUnintentionallyCoveredCode="false">
|
2016-09-02 16:07:07 +00:00
|
|
|
<!-- TODO set printerClass="\Drupal\Tests\Listeners\HtmlOutputPrinter" once
|
|
|
|
https://youtrack.jetbrains.com/issue/WI-24808 is resolved. Drupal provides a
|
|
|
|
result printer that links to the html output results for functional tests.
|
|
|
|
Unfortunately, this breaks the output of PHPStorm's PHPUnit runner. However, if
|
|
|
|
using the command line you can add
|
|
|
|
- -printerClass="\Drupal\Tests\Listeners\HtmlOutputPrinter" to use it (note
|
|
|
|
there should be no spaces between the hyphens).
|
|
|
|
-->
|
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=""/>
|
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>
|
2015-08-18 09:32:20 +00:00
|
|
|
<listener class="\Drupal\Tests\Listeners\DrupalStandardsListener">
|
|
|
|
</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>
|
2015-03-31 16:13:11 +00:00
|
|
|
<!-- By definition test classes have no tests. -->
|
|
|
|
<exclude>
|
|
|
|
<directory suffix="Test.php">./</directory>
|
|
|
|
<directory suffix="TestBase.php">./</directory>
|
|
|
|
</exclude>
|
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>
|