phpunit.xml.dist 1.9 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <!--
  3. /**
  4. * Default test suites declaration: run verification of coding standards and code integrity test suites
  5. *
  6. * Copyright © Magento, Inc. All rights reserved.
  7. * See COPYING.txt for license details.
  8. */
  9. -->
  10. <phpunit xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
  11. xsi:noNamespaceSchemaLocation="http://schema.phpunit.de/6.2/phpunit.xsd"
  12. colors="true"
  13. columns="max"
  14. beStrictAboutTestsThatDoNotTestAnything="false"
  15. bootstrap="./framework/bootstrap.php"
  16. >
  17. <testsuites>
  18. <testsuite name="Less Static Code Analysis">
  19. <file>testsuite/Magento/Test/Less/LiveCodeTest.php</file>
  20. </testsuite>
  21. <testsuite name="PHP Coding Standard Verification">
  22. <file>testsuite/Magento/Test/Php/LiveCodeTest.php</file>
  23. </testsuite>
  24. <testsuite name="Code Integrity Tests">
  25. <directory>testsuite/Magento/Test/Integrity</directory>
  26. </testsuite>
  27. <testsuite name="Xss Unsafe Output Test">
  28. <file>testsuite/Magento/Test/Php/XssPhtmlTemplateTest.php</file>
  29. </testsuite>
  30. </testsuites>
  31. <php>
  32. <ini name="date.timezone" value="America/Los_Angeles"/>
  33. <!-- TESTCODESTYLE_IS_FULL_SCAN - specify if full scan should be performed for test code style test -->
  34. <const name="TESTCODESTYLE_IS_FULL_SCAN" value="0"/>
  35. <!-- TESTS_COMPOSER_PATH - specify the path to composer binary, if a relative reference cannot be resolved -->
  36. <!--<const name="TESTS_COMPOSER_PATH" value="/usr/local/bin/composer"/>-->
  37. </php>
  38. <listeners>
  39. <listener class="Yandex\Allure\Adapter\AllureAdapter">
  40. <arguments>
  41. <string>var/allure-results</string> <!-- XML files output directory -->
  42. <boolean>true</boolean> <!-- Whether to delete previous results on rerun -->
  43. </arguments>
  44. </listener>
  45. </listeners>
  46. </phpunit>