Вы не можете выбрать более 25 тем Темы должны начинаться с буквы или цифры, могут содержать дефисы(-) и должны содержать не более 35 символов.
 
 
 
 
 
 

75 строки
3.4 KiB

  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <!--
  3. /**
  4. * Copyright © Magento, Inc. All rights reserved.
  5. * See COPYING.txt for license details.
  6. */
  7. -->
  8. <phpunit xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
  9. xsi:noNamespaceSchemaLocation="https://schema.phpunit.de/9.3/phpunit.xsd"
  10. colors="true"
  11. columns="max"
  12. beStrictAboutTestsThatDoNotTestAnything="false"
  13. bootstrap="./framework/bootstrap.php">
  14. <coverage>
  15. <include>
  16. <directory suffix=".php">../../../app/code/*</directory>
  17. <directory suffix=".php">../../../lib/internal/Magento</directory>
  18. <directory suffix=".php">../../../setup/src/*</directory>
  19. </include>
  20. <exclude>
  21. <directory>../../../app/code/*/*/Test</directory>
  22. <directory>../../../lib/internal/*/*/Test</directory>
  23. <directory>../../../lib/internal/*/*/*/Test</directory>
  24. <directory>../../../setup/src/*/*/Test</directory>
  25. </exclude>
  26. </coverage>
  27. <testsuites>
  28. <testsuite name="Magento_Unit_Tests_App_Code">
  29. <directory>../../../app/code/*/*/Test/Unit</directory>
  30. <directory>../../../vendor/magento/module-*/Test/Unit</directory>
  31. <exclude>../../../app/code/Magento/Indexer/Test/Unit</exclude>
  32. </testsuite>
  33. <testsuite name="Magento_Unit_Tests_App_Code_Indexer">
  34. <directory>../../../app/code/*/Indexer/Test/Unit</directory>
  35. </testsuite>
  36. <testsuite name="Magento_Unit_Tests_Other">
  37. <directory>../../../lib/internal/*/*/Test/Unit</directory>
  38. <directory>../../../lib/internal/*/*/*/Test/Unit</directory>
  39. <directory>../../../setup/src/*/*/Test/Unit</directory>
  40. <directory>../../../vendor/*/module-*/Test/Unit</directory>
  41. <directory>../../../vendor/*/framework/Test/Unit</directory>
  42. <directory>../../../vendor/*/framework/*/Test/Unit</directory>
  43. <directory>../../tests/unit/*/Test/Unit</directory>
  44. </testsuite>
  45. </testsuites>
  46. <php>
  47. <ini name="memory_limit" value="-1"/>
  48. <ini name="date.timezone" value="America/Los_Angeles"/>
  49. <ini name="xdebug.max_nesting_level" value="200"/>
  50. </php>
  51. <listeners>
  52. <listener class="Yandex\Allure\PhpUnit\AllurePhpUnit">
  53. <arguments>
  54. <string>var/allure-results</string> <!-- XML files output directory -->
  55. <boolean>true</boolean> <!-- Whether to delete previous results on rerun -->
  56. <array> <!-- A list of custom annotations to ignore (optional) -->
  57. <element key="codingStandardsIgnoreStart">
  58. <string>codingStandardsIgnoreStart</string>
  59. </element>
  60. <element key="codingStandardsIgnoreEnd">
  61. <string>codingStandardsIgnoreEnd</string>
  62. </element>
  63. <element key="cover">
  64. <string>cover</string>
  65. </element>
  66. <element key="expectedExceptionMessageRegExp">
  67. <string>expectedExceptionMessageRegExp</string>
  68. </element>
  69. </array>
  70. </arguments>
  71. </listener>
  72. <listener class="Magento\Framework\TestFramework\Unit\Listener\ReplaceObjectManager"/>
  73. </listeners>
  74. </phpunit>