CodeIgniter4/phpunit.xml.dist

63 lines
2.4 KiB
Plaintext
Raw Normal View History

2015-08-28 23:08:36 -05:00
<?xml version="1.0" encoding="UTF-8"?>
2024-04-13 18:20:51 +09:00
<phpunit
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
2024-04-13 18:29:09 +09:00
xsi:noNamespaceSchemaLocation="https://schema.phpunit.de/10.5/phpunit.xsd"
2024-04-13 18:20:51 +09:00
bootstrap="system/Test/bootstrap.php"
backupGlobals="false"
beStrictAboutOutputDuringTests="true"
colors="true"
columns="max"
failOnRisky="true"
failOnWarning="true"
cacheDirectory="build/.phpunit.cache">
<coverage
pathCoverage="false"
ignoreDeprecatedCodeUnits="true"
disableCodeCoverageIgnore="true">
2021-06-06 22:03:20 +08:00
<report>
<clover outputFile="build/logs/clover.xml"/>
<html outputDirectory="build/coverage/html" highLowerBound="80"/>
<text outputFile="build/coverage/coverage.txt"/>
2021-06-06 22:03:20 +08:00
</report>
</coverage>
<extensions>
2023-10-21 08:55:35 +09:00
<bootstrap class="Nexus\PHPUnit\Tachycardia\TachycardiaExtension">
<parameter name="time-limit" value="0.50" />
<parameter name="report-count" value="30" />
</bootstrap>
2021-06-06 22:03:20 +08:00
</extensions>
2023-10-27 13:46:56 +09:00
<testsuites>
<testsuite name="System">
<directory>tests/system</directory>
</testsuite>
</testsuites>
<source>
<include>
<directory suffix=".php">system</directory>
</include>
<exclude>
<directory>system/Commands/Generators/Views</directory>
<directory>system/Debug/Toolbar/Views</directory>
<directory>system/Pager/Views</directory>
<directory>system/ThirdParty</directory>
<directory>system/Validation/Views</directory>
<file>system/bootstrap.php</file>
<file>system/ComposerScripts.php</file>
<file>system/Config/Routes.php</file>
<file>system/Test/bootstrap.php</file>
<file>system/Test/ControllerTester.php</file>
<file>system/Test/FeatureTestCase.php</file>
</exclude>
</source>
2023-10-27 13:46:56 +09:00
<php>
<server name="app.baseURL" value="http://example.com/"/>
<server name="CODEIGNITER_SCREAM_DEPRECATIONS" value="1"/>
<!-- Directory containing phpunit.xml -->
<const name="HOMEPATH" value="./"/>
<!-- Directory containing the Paths config file -->
<const name="CONFIGPATH" value="./app/Config/"/>
<!-- Directory containing the front controller (index.php) -->
<const name="PUBLICPATH" value="./public/"/>
</php>
2016-03-18 22:04:59 -05:00
</phpunit>