components-web-app/api-components-bundle

View on GitHub
phpunit.xml.dist

Summary

Maintainability
Test Coverage
<?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="https://schema.phpunit.de/9.3/phpunit.xsd" backupGlobals="false" colors="true" bootstrap="tests/Functional/app/bootstrap.php">
  <coverage processUncoveredFiles="true">
    <include>
      <directory>.</directory>
    </include>
    <exclude>
      <directory>tests</directory>
      <directory>features</directory>
      <directory>vendor</directory>
      <directory>src/Resources/config</directory>
      <directory>.php-cs-fixer.dist.php</directory>
    </exclude>
    <report>
      <clover outputFile="clover.xml"/>
      <xml outputDirectory="infection-coverage-xml"/>
    </report>
  </coverage>
  <php>
    <ini name="error_reporting" value="-1"/>
    <ini name="memory_limit" value="-1"/>
    <env name="SYMFONY_DEPRECATIONS_HELPER" value="baselineFile=./tests/allowed.json&amp;verbose=1"/>
    <server name="KERNEL_DIR" value="tests/Functional/app/"/>
    <server name="KERNEL_CLASS" value="AppKernel"/>
    <server name="APP_ENV" value="test" force="true"/>
    <server name="LEGACY" value="0"/>
    <server name="SHELL_VERBOSITY" value="-1"/>
    <server name="SYMFONY_PHPUNIT_REMOVE" value=""/>
    <server name="SYMFONY_PHPUNIT_VERSION" value="9.5.21"/>
  </php>
  <logging>
    <junit outputFile="/tmp/infection/phpunit.junit.xml"/>
  </logging>
  <testsuites>
    <testsuite name="Project Test Suite">
      <directory>tests</directory>
    </testsuite>
  </testsuites>
  <listeners>
      <listener class="Symfony\Bridge\PhpUnit\SymfonyTestsListener">
          <arguments>
              <array>
                  <!-- set this option to 0 to disable the DebugClassLoader integration -->
                  <!--<element key="debug-class-loader"><integer>0</integer></element> -->
              </array>
          </arguments>
      </listener>
  </listeners>
</phpunit>