| 1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859 |
- <?xml version="1.0" encoding="UTF-8"?>
- <phpunit xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="https://schema.phpunit.de/9.3/phpunit.xsd"
- colors="true"
- bootstrap="tests/bootstrap.php"
- backupGlobals="true"
- convertDeprecationsToExceptions="true"
- >
- <testsuites>
- <testsuite name="cakephp">
- <directory>tests/TestCase/</directory>
- <!-- Excludes are required in order to let DatabaseSuite decorate the tests -->
- <exclude>tests/TestCase/Database/</exclude>
- <exclude>tests/TestCase/ORM/</exclude>
- </testsuite>
- <testsuite name="database">
- <directory>tests/TestCase/Database/</directory>
- <directory>tests/TestCase/ORM/</directory>
- </testsuite>
- </testsuites>
- <extensions>
- <extension class="Cake\TestSuite\Fixture\PHPUnitExtension"/>
- </extensions>
- <!-- Prevent coverage reports from looking in tests, vendors, config folders -->
- <coverage>
- <include>
- <directory suffix=".php">src/</directory>
- </include>
- <exclude>
- <!--
- This file contains a few functions that cannot be tested
- as they contain die; or breakpoint functionality.
- -->
- <file>src/basics.php</file>
- </exclude>
- </coverage>
- <php>
- <ini name="memory_limit" value="-1"/>
- <!-- E_ALL & ~E_USER_DEPRECATED (16383)-->
- <!-- E_ALL (32767) -->
- <ini name="error_reporting" value="32767"/>
- <env name="FIXTURE_SCHEMA_METADATA" value="./tests/schema.php"/>
- <!-- SQLite
- <env name="DB_URL" value="sqlite:///:memory:"/>
- -->
- <!-- Postgres
- <env name="DB_URL" value="postgres://localhost/cake_test?timezone=UTC"/>
- -->
- <!-- MySQL
- <env name="DB_URL" value="mysql://localhost/cake_test?timezone=UTC"/>
- -->
- <!-- SQL Server
- <env name="DB_URL" value="sqlserver://localhost/cake_test?timezone=UTC"/>
- -->
- </php>
- </phpunit>
|