|
| 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="http://schema.phpunit.de/9.1/phpunit.xsd" |
| 10 | + colors="true" |
| 11 | + columns="max" |
| 12 | + beStrictAboutTestsThatDoNotTestAnything="false" |
| 13 | + bootstrap="./framework/bootstrap.php" |
| 14 | + stderr="true" |
| 15 | + testSuiteLoaderClass="Magento\TestFramework\SuiteLoader" |
| 16 | + testSuiteLoaderFile="framework/Magento/TestFramework/SuiteLoader.php" |
| 17 | +> |
| 18 | + <!-- Test suites definition --> |
| 19 | + <testsuites> |
| 20 | + <!-- Memory tests run first to prevent influence of other tests on accuracy of memory measurements --> |
| 21 | + <testsuite name="Skywire Integration Tests"> |
| 22 | + <directory>../../../app/code/Skywire/*/Test/Integration</directory> |
| 23 | +<!-- <directory>../../../vendor/skywire/*/src/Test/Integration</directory>--> |
| 24 | + </testsuite> |
| 25 | + </testsuites> |
| 26 | + |
| 27 | + <filter> |
| 28 | + <whitelist> |
| 29 | + <directory suffix=".php">../../../app/code/Skywire</directory> |
| 30 | + <exclude> |
| 31 | + <directory>../../../app/code/*/*/Test</directory> |
| 32 | + </exclude> |
| 33 | + </whitelist> |
| 34 | + </filter> |
| 35 | + |
| 36 | + <!-- PHP INI settings and constants definition --> |
| 37 | + <php> |
| 38 | + <includePath>.</includePath> |
| 39 | + <includePath>testsuite</includePath> |
| 40 | + <ini name="date.timezone" value="America/Los_Angeles"/> |
| 41 | + <ini name="xdebug.max_nesting_level" value="200"/> |
| 42 | + <!-- Local XML configuration file ('.dist' extension will be added, if the specified file doesn't exist) --> |
| 43 | + <const name="TESTS_INSTALL_CONFIG_FILE" value="etc/install-config-mysql.php"/> |
| 44 | + <!-- Local XML configuration file ('.dist' extension will be added, if the specified file doesn't exist) --> |
| 45 | + <const name="TESTS_POST_INSTALL_SETUP_COMMAND_CONFIG_FILE" value="etc/post-install-setup-command-config.php"/> |
| 46 | + <!-- Local XML configuration file ('.dist' extension will be added, if the specified file doesn't exist) --> |
| 47 | + <const name="TESTS_GLOBAL_CONFIG_FILE" value="etc/config-global.php"/> |
| 48 | + <!-- Semicolon-separated 'glob' patterns, that match global XML configuration files --> |
| 49 | + <const name="TESTS_GLOBAL_CONFIG_DIR" value="../../../app/etc"/> |
| 50 | + <!-- Whether to cleanup the application before running tests or not --> |
| 51 | + <const name="TESTS_CLEANUP" value="enabled"/> |
| 52 | + <!-- Memory usage and estimated leaks thresholds --> |
| 53 | + <!--<const name="TESTS_MEM_USAGE_LIMIT" value="1024M"/>--> |
| 54 | + <const name="TESTS_MEM_LEAK_LIMIT" value=""/> |
| 55 | + <!-- Path to Percona Toolkit bin directory --> |
| 56 | + <!--<const name="PERCONA_TOOLKIT_BIN_DIR" value=""/>--> |
| 57 | + <!-- CSV Profiler Output file --> |
| 58 | + <!--<const name="TESTS_PROFILER_FILE" value="profiler.csv"/>--> |
| 59 | + <!-- Bamboo compatible CSV Profiler Output file name --> |
| 60 | + <!--<const name="TESTS_BAMBOO_PROFILER_FILE" value="profiler.csv"/>--> |
| 61 | + <!-- Metrics for Bamboo Profiler Output in PHP file that returns array --> |
| 62 | + <!--<const name="TESTS_BAMBOO_PROFILER_METRICS_FILE" value="../../build/profiler_metrics.php"/>--> |
| 63 | + <!-- Whether to output all CLI commands executed by the bootstrap and tests --> |
| 64 | + <const name="TESTS_EXTRA_VERBOSE_LOG" value="1"/> |
| 65 | + <!-- Magento mode for tests execution. Possible values are "default", "developer" and "production". --> |
| 66 | + <const name="TESTS_MAGENTO_MODE" value="developer"/> |
| 67 | + <!-- Minimum error log level to listen for. Possible values: -1 ignore all errors, and level constants form http://tools.ietf.org/html/rfc5424 standard --> |
| 68 | + <const name="TESTS_ERROR_LOG_LISTENER_LEVEL" value="-1"/> |
| 69 | + <!-- Connection parameters for MongoDB library tests --> |
| 70 | + <!--<const name="MONGODB_CONNECTION_STRING" value="mongodb://localhost:27017"/>--> |
| 71 | + <!--<const name="MONGODB_DATABASE_NAME" value="magento_integration_tests"/>--> |
| 72 | + <!-- Connection parameters for RabbitMQ tests --> |
| 73 | + <!--<const name="RABBITMQ_MANAGEMENT_PORT" value="15672"/>--> |
| 74 | + <!--<const name="TESTS_PARALLEL_RUN" value="1"/>--> |
| 75 | + <const name="USE_OVERRIDE_CONFIG" value="enabled"/> |
| 76 | + </php> |
| 77 | + <!-- Test listeners --> |
| 78 | + <!-- Test listeners --> |
| 79 | + <listeners> |
| 80 | + <listener class="Yandex\Allure\PhpUnit\AllurePhpUnit"> |
| 81 | + <arguments> |
| 82 | + <string>var/allure-results</string> <!-- XML files output directory --> |
| 83 | + <boolean>true</boolean> <!-- Whether to delete previous results on rerun --> |
| 84 | + <array> <!-- A list of custom annotations to ignore (optional) --> |
| 85 | + <element key="codingStandardsIgnoreStart"> |
| 86 | + <string>codingStandardsIgnoreStart</string> |
| 87 | + </element> |
| 88 | + <element key="codingStandardsIgnoreEnd"> |
| 89 | + <string>codingStandardsIgnoreEnd</string> |
| 90 | + </element> |
| 91 | + <element key="expectedExceptionMessageRegExp"> |
| 92 | + <string>expectedExceptionMessageRegExp</string> |
| 93 | + </element> |
| 94 | + <element key="magentoAdminConfigFixture"> |
| 95 | + <string>magentoAdminConfigFixture</string> |
| 96 | + </element> |
| 97 | + <element key="magentoAppArea"> |
| 98 | + <string>magentoAppArea</string> |
| 99 | + </element> |
| 100 | + <element key="magentoAppIsolation"> |
| 101 | + <string>magentoAppIsolation</string> |
| 102 | + </element> |
| 103 | + <element key="magentoCache"> |
| 104 | + <string>magentoCache</string> |
| 105 | + </element> |
| 106 | + <element key="magentoComponentsDir"> |
| 107 | + <string>magentoComponentsDir</string> |
| 108 | + </element> |
| 109 | + <element key="magentoConfigFixture"> |
| 110 | + <string>magentoConfigFixture</string> |
| 111 | + </element> |
| 112 | + <element key="magentoDataFixture"> |
| 113 | + <string>magentoDataFixture</string> |
| 114 | + </element> |
| 115 | + <element key="magentoDataFixtureBeforeTransaction"> |
| 116 | + <string>magentoDataFixtureBeforeTransaction</string> |
| 117 | + </element> |
| 118 | + <element key="magentoDbIsolation"> |
| 119 | + <string>magentoDbIsolation</string> |
| 120 | + </element> |
| 121 | + <element key="magentoIndexerDimensionMode"> |
| 122 | + <string>magentoIndexerDimensionMode</string> |
| 123 | + </element> |
| 124 | + </array> |
| 125 | + </arguments> |
| 126 | + </listener> |
| 127 | + <!-- Run after AllureAdapter to allow it to initialize properly --> |
| 128 | + <listener class="Magento\TestFramework\Event\PhpUnit"/> |
| 129 | + <listener class="Magento\TestFramework\ErrorLog\Listener"/> |
| 130 | + </listeners> |
| 131 | +</phpunit> |
0 commit comments