<?xml version="1.0" encoding="UTF-8"?>
<phpunit xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
         xsi:noNamespaceSchemaLocation="vendor/phpunit/phpunit/phpunit.xsd"
         bootstrap="vendor/autoload.php"
         colors="true">

  <testsuites>
    <testsuite name="Commands">
      <directory suffix="Test.php">./tests/Commands</directory>
    </testsuite>
    <testsuite name="Components">
      <directory suffix="Test.php">./tests/Components</directory>
    </testsuite>
    <testsuite name="Controller">
      <directory suffix="Test.php">./tests/Controller</directory>
    </testsuite>
    <testsuite name="Database">
      <directory suffix="Test.php">./tests/Database</directory>
    </testsuite>
    <testsuite name="Helper">
      <directory suffix="Test.php">./tests/Helper</directory>
    </testsuite>
    <testsuite name="Migrations">
      <directory suffix="Test.php">./tests/Migrations</directory>
    </testsuite>
    <testsuite name="Models">
      <directory suffix="Test.php">./tests/Models</directory>
    </testsuite>
  </testsuites>

  <source>
    <include>
      <directory suffix=".php">./app</directory>
    </include>
  </source>

  <php>
    <server name="APP_ENV" value="testing"/>
    <server name="APP_KEY" value="base64:cQiwS51aa/3oti4KXHtj8mZLNyiDTA7BCAB5GIMvg5w="/>
    <server name="APP_DEMO" value="false"/>
    <server name="DB_CONNECTION" value="sqlite"/>
    <server name="DB_DATABASE" value="database/testing.sqlite"/>
    <server name="BCRYPT_ROUNDS" value="4"/>
    <server name="CACHE_DRIVER" value="array"/>
    <server name="MAIL_DRIVER" value="array"/>
    <server name="SESSION_DRIVER" value="array"/>
    <server name="AUDIT_CONSOLE_EVENTS" value="true"/>
    <server name="APP_CONFIG_CACHE" value="bootstrap/cache/config.phpunit.php"/>
    <server name="APP_SERVICES_CACHE" value="bootstrap/cache/services.phpunit.php"/>
    <server name="APP_PACKAGES_CACHE" value="bootstrap/cache/packages.phpunit.php"/>
    <server name="APP_ROUTES_CACHE" value="bootstrap/cache/routes.phpunit.php"/>
    <server name="APP_EVENTS_CACHE" value="bootstrap/cache/events.phpunit.php"/>
  </php>
</phpunit>
