mirror of
https://github.com/bdnugget/magento2.git
synced 2026-11-08 01:37:36 +00:00
68 lines
2.8 KiB
XML
68 lines
2.8 KiB
XML
<?xml version="1.0" encoding="UTF-8"?>
|
|
<!--
|
|
/**
|
|
* PHPUnit configuration for Web API functional tests.
|
|
*
|
|
* Copyright © 2015 Magento. All rights reserved.
|
|
* See COPYING.txt for license details.
|
|
*/
|
|
-->
|
|
<phpunit xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
|
xsi:noNamespaceSchemaLocation="http://schema.phpunit.de/4.1/phpunit.xsd"
|
|
colors="true"
|
|
bootstrap="./framework/bootstrap.php"
|
|
>
|
|
<!-- Test suites definition -->
|
|
<testsuites>
|
|
<testsuite name="Magento Web API Functional Tests">
|
|
<directory suffix="Test.php">testsuite</directory>
|
|
</testsuite>
|
|
</testsuites>
|
|
|
|
<!-- Code coverage filters -->
|
|
<filter>
|
|
<whitelist>
|
|
<!-- All CE modules -->
|
|
<directory suffix=".php">../../app/code/Magento</directory>
|
|
</whitelist>
|
|
</filter>
|
|
|
|
<!-- PHP INI settings and constants definition -->
|
|
<php>
|
|
<includePath>./testsuite</includePath>
|
|
<const name="TESTS_INSTALL_CONFIG_FILE" value="config/install-config-mysql.php"/>
|
|
<const name="TESTS_GLOBAL_CONFIG_FILE" value="config/config-global.php"/>
|
|
<!-- WebSerivice Type. Possible values: soap, rest -->
|
|
<const name="TESTS_WEB_API_ADAPTER" value="rest"/>
|
|
<!-- Webserver URL -->
|
|
<const name="TESTS_BASE_URL" value="http://magento.url"/>
|
|
<!-- Webserver API user -->
|
|
<const name="TESTS_WEBSERVICE_USER" value="admin"/>
|
|
<!-- Webserver API key -->
|
|
<const name="TESTS_WEBSERVICE_APIKEY" value="123123q"/>
|
|
<!-- Define if debugger should be started using XDEBUG_SESSION cookie -->
|
|
<const name="TESTS_XDEBUG_ENABLED" value="false"/>
|
|
<!-- Define XDEBUG_SESSION cookie value-->
|
|
<const name="TESTS_XDEBUG_SESSION" value="phpstorm" />
|
|
<!--Generate documentation from REST tests and put it into var/log/rest-documentation directory-->
|
|
<const name="GENERATE_REST_DOCUMENTATION" value="false" />
|
|
|
|
<ini name="date.timezone" value="America/Los_Angeles"/>
|
|
<ini name="soap.wsdl_cache_enabled" value="0" />
|
|
|
|
<!-- Semicolon-separated 'glob' patterns, that match global XML configuration files -->
|
|
<const name="TESTS_GLOBAL_CONFIG_DIR" value="../../../app/etc"/>
|
|
<!-- Whether to cleanup the application before running tests or not -->
|
|
<const name="TESTS_CLEANUP" value="enabled"/>
|
|
<!--Defines if Magento should be installed before tests execution-->
|
|
<const name="TESTS_MAGENTO_INSTALLATION" value="disabled"/>
|
|
<!-- Magento mode for tests execution. Possible values are "default", "developer" and "production". -->
|
|
<const name="TESTS_MAGENTO_MODE" value="default"/>
|
|
</php>
|
|
|
|
<!-- Test listeners -->
|
|
<listeners>
|
|
<listener class="Magento\TestFramework\Event\PhpUnit"/>
|
|
</listeners>
|
|
</phpunit>
|