<?xml version="1.0"?>
<phpunit
    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
    xsi:noNamespaceSchemaLocation="https://schema.phpunit.de/10.0/phpunit.xsd"
    bootstrap="tests/bootstrap.php"
    colors="true"
    cacheDirectory=".phpunit.cache"
>
    <testsuites>
        <testsuite name="unit">
            <directory suffix="Test.php">tests</directory>
            <exclude>tests/bootstrap.php</exclude>
            <!-- Legacy filenames kept temporarily for reference; canonical names used above -->
            <exclude>tests/Test_Inventory_Endpoint.php</exclude>
            <exclude>tests/Test_Content_Endpoint.php</exclude>
            <exclude>tests/test-publish-endpoint.php</exclude>
            <exclude>tests/Test_HMAC_Auth.php</exclude>
            <exclude>tests/Test_Handshake_Endpoint.php</exclude>
            <exclude>tests/Test_Secret_Encryption.php</exclude>
            <exclude>tests/Test_Disconnect_Endpoint.php</exclude>
            <!-- Integration tests excluded from unit run -->
            <exclude>tests/InventoryEndpointTest.php</exclude>
            <exclude>tests/ContentEndpointTest.php</exclude>
            <exclude>tests/PublishEndpointTest.php</exclude>
        </testsuite>
        <testsuite name="integration">
            <file>tests/InventoryEndpointTest.php</file>
            <file>tests/ContentEndpointTest.php</file>
            <file>tests/PublishEndpointTest.php</file>
        </testsuite>
    </testsuites>
</phpunit>
