Files
backend/phpunit.dist.xml
Valery Petrov 77267619ad
backend-ci-cd / parse-tag (push) Has been cancelled
backend-ci-cd / test (push) Has been cancelled
backend-ci-cd / test-prod-skip (push) Has been cancelled
backend-ci-cd / build-and-push (push) Has been cancelled
backend-ci-cd / deploy-gitops (push) Has been cancelled
issues/27: autotest foundation — TestTraceProcessor, PHPUnit suites, CI coverage
2026-06-04 12:51:57 +03:00

51 lines
1.6 KiB
XML

<?xml version="1.0" encoding="UTF-8"?>
<!-- https://phpunit.readthedocs.io/en/latest/configuration.html -->
<phpunit xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:noNamespaceSchemaLocation="vendor/phpunit/phpunit/phpunit.xsd"
backupGlobals="false"
colors="true"
failOnNotice="true"
failOnWarning="true"
bootstrap="tests/bootstrap.php"
cacheDirectory=".phpunit.cache"
>
<php>
<ini name="display_errors" value="1" />
<ini name="error_reporting" value="-1" />
<server name="APP_ENV" value="test" force="true" />
<server name="SHELL_VERBOSITY" value="-1" />
</php>
<testsuites>
<testsuite name="unit">
<directory>tests/Unit</directory>
<directory>tests/Service</directory>
</testsuite>
<testsuite name="integration">
<directory>tests/Controller</directory>
<directory>tests/Integration</directory>
</testsuite>
</testsuites>
<source ignoreSuppressionOfDeprecations="true" restrictNotices="true" restrictWarnings="true">
<include>
<directory>src</directory>
</include>
<exclude>
<directory>src/Entity</directory>
</exclude>
</source>
<coverage>
<report>
<clover outputFile="var/coverage/clover.xml"/>
<html outputDirectory="var/coverage/html" lowUpperBound="50" highLowerBound="80"/>
<text outputFile="php://stdout" showOnlySummary="true"/>
</report>
</coverage>
<extensions>
</extensions>
</phpunit>