<?xml version="1.0" encoding="UTF-8"?>
<phpunit 
  xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" 
  xsi:noNamespaceSchemaLocation="https://schema.phpunit.de/10.5/phpunit.xsd" 
  bootstrap="vendor/autoload.php" *
  colors="true" 
  cacheDirectory=".phpunit.cache">
  <testsuites>
    <testsuite name="Feature">
      <directory suffix="CreateTestDatabaseSQLite.php">./tests/Feature</directory>
      <directory suffix="HardResetTest.php">./tests/Feature</directory>
      <directory suffix="GastroEnableModule.php">./modules/NsGastro/Tests/Feature</directory>
      <directory suffix="GastroTruncateTablesTest.php">./modules/NsGastro/Tests/Feature</directory>
      <directory suffix="ResetUserStatTest.php">./tests/Feature</directory>
      <directory suffix="CreateUnitGroupTest.php">./tests/Feature</directory>
      <directory suffix="CreateUnitTest.php">./tests/Feature</directory>
      <directory suffix="CreateTaxGroupTest.php">./tests/Feature</directory>
      <directory suffix="GastroCreateDemoData.php">./modules/NsGastro/Tests/Feature</directory>
      <directory suffix="CreateCategoryTest.php">./tests/Feature</directory>
      <directory suffix="CreateCustomerGroupTest.php">./tests/Feature</directory>
      <!-- <directory suffix="CreateProductTest.php">./tests/Feature</directory> -->

      <directory suffix="CreateCustomerTest.php">./tests/Feature</directory>
      <directory suffix="CreateProviderTest.php">./tests/Feature</directory>
      <directory suffix="RefreshReportForPastDaysTest.php">./tests/Feature</directory>

      <!-- Gastro Tests -->
      <directory suffix="GastroCreateTableAndAreas.php">./modules/NsGastro/Tests/Feature</directory>
      <directory suffix="GastroCreateKitchens.php">./modules/NsGastro/Tests/Feature</directory>
      <directory suffix="GastroCancelOrderFromKitchen.php">./modules/NsGastro/Tests/Feature</directory>
      <directory suffix="GastroTestSplitOrder.php">./modules/NsGastro/Tests/Feature</directory>
      <directory suffix="GastroSplitPrintTest.php">./modules/NsGastro/Tests/Feature</directory>
      <directory suffix="GastroCookOrderFromKitchen.php">./modules/NsGastro/Tests/Feature</directory>
      <directory suffix="GastroCreateOrderToTable.php">./modules/NsGastro/Tests/Feature</directory>
      <directory suffix="GastroCreateOrderWithSkipCooking.php">./modules/NsGastro/Tests/Feature</directory>
      <directory suffix="GastroTestPrintedItemsAreHidden.php">./modules/NsGastro/Tests/Feature</directory>
    </testsuite>
  </testsuites>
  <php>
    <server name="APP_ENV" value="TESTING"/>
    <server name="BCRYPT_ROUNDS" value="4"/>
    <server name="CACHE_DRIVER" value="array"/>
    <server name="MAIL_MAILER" value="array"/>
    <server name="QUEUE_CONNECTION" value="sync"/>
    <server name="SESSION_DRIVER" value="array"/>
    <server name="TELESCOPE_ENABLED" value="FALSE"/>
    <server name="BROADCAST_DRIVER" value="log"/>
    <server name="SANCTUM_STATEFUL_DOMAINS" value="nexopos-v4.std"/>
    <server name="SESSION_DOMAIN" value="nexopos-v4.std"/>
    <server name="NS_VERSION" value="false"/>
  </php>
  <source>
    <include>
      <directory suffix=".php">./app</directory>
    </include>
  </source>
</phpunit>
