<?xml version="1.0" encoding="UTF-8"?>
<!--
    Feature-test config, separate from phpunit.xml.dist on purpose.

    PHPUnit allows exactly one bootstrap per config, and the two suites need
    different ones: tests/bootstrap.php deliberately does NOT boot CodeIgniter
    (fast, for the pure-static AdOps helpers), while these tests extend
    CIUnitTestCase + FeatureTestTrait and need a real framework boot plus the
    app's env constants — tests/feature_bootstrap.php supplies both.

    Run with:  vendor/bin/phpunit -c phpunit.feature.xml
    Or both suites at once:  composer test
-->
<phpunit
    bootstrap="tests/feature_bootstrap.php"
    colors="true"
    stopOnError="false"
    stopOnFailure="false"
    cacheDirectory=".phpunit.cache"
>
    <testsuites>
        <testsuite name="Feature">
            <directory>tests/feature</directory>
        </testsuite>
    </testsuites>
    <source>
        <include>
            <directory suffix=".php">app/Controllers</directory>
            <directory suffix=".php">app/Filters</directory>
            <directory suffix=".php">app/Services</directory>
        </include>
    </source>
</phpunit>
