加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
phpunit.xml 1.74 KB
一键复制 编辑 原始数据 按行查看 历史
none 提交于 2022-04-29 15:03 . update phpunit.xml
<?xml version="1.0" encoding="UTF-8"?>
<phpunit xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" backupGlobals="false" backupStaticAttributes="false"
bootstrap="vendor/autoload.php" colors="true" convertErrorsToExceptions="true"
convertNoticesToExceptions="true" convertWarningsToExceptions="true" processIsolation="false"
stopOnFailure="true" xsi:noNamespaceSchemaLocation="https://schema.phpunit.de/9.3/phpunit.xsd">
<coverage>
<include>
<directory suffix=".php">./app</directory>
</include>
<exclude>
<directory suffix=".php">./app/Models</directory>
<directory suffix=".php">./app/Services/*/Models</directory>
<directory suffix=".php">./app/Http/Controllers/Backend/Api/V1</directory>
</exclude>
<report>
<html outputDirectory="./tests/report" lowUpperBound="35" highLowerBound="70"/>
</report>
</coverage>
<testsuites>
<testsuite name="Commands">
<directory suffix="Test.php">./tests/Commands</directory>
</testsuite>
<testsuite name="Services">
<directory suffix="Test.php">./tests/Services</directory>
</testsuite>
<testsuite name="Feature">
<directory suffix="Test.php">./tests/Feature</directory>
</testsuite>
<testsuite name="Unit">
<directory suffix="Test.php">./tests/Unit</directory>
</testsuite>
</testsuites>
<logging/>
<php>
<env name="APP_ENV" value="testing"/>
<env name="CACHE_DRIVER" value="array"/>
<env name="SESSION_DRIVER" value="array"/>
<env name="QUEUE_DRIVER" value="sync"/>
<ini name="memory_limit" value="256M"/>
</php>
</phpunit>
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化