<!--
    Functional test suite setup

    Functional tests should extend \TYPO3\TestingFramework\Core\Tests\FunctionalTestCase,
    take a look at this class for further documentation on how to run the suite.

    TYPO3 CMS functional test suite also needs phpunit bootstrap code, the
    file is located next to this .xml as FunctionalTestsBootstrap.php
-->
    <phpunit
        xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
        backupGlobals="true"
        bootstrap="FunctionalTestsBootstrap.php"
        colors="true"
        stopOnError="false"
        stopOnFailure="false"
        stopOnIncomplete="false"
        stopOnSkipped="false"
        beStrictAboutTestsThatDoNotTestAnything="false"
        xsi:noNamespaceSchemaLocation="https://schema.phpunit.de/10.5/phpunit.xsd"
        cacheDirectory=".phpunit.cache"
        requireCoverageMetadata="false">
    <testsuites>
        <testsuite name="Functional tests">
            <directory>../../Tests/Functional/</directory>
        </testsuite>
    </testsuites>
    <php>
        <!--
            @deprecated: Set this to not suppress warnings, notices and deprecations in functional tests
                         with TYPO3 core v11 and up.
                         Will always be done with next major version.
                         To still suppress warnings, notices and deprecations, do NOT define the constant at all.
         -->
        <const name="TYPO3_TESTING_FUNCTIONAL_REMOVE_ERROR_HANDLER" value="true" />
        <ini name="display_errors" value="1" />
        <ini name="error_reporting" value="E_ALL" />
        <env name="TYPO3_CONTEXT" value="Testing" />
    </php>
</phpunit>
