opencart-module/phpunit.xml.dist

42 lines
1.7 KiB
Plaintext
Raw Normal View History

2018-06-13 16:13:08 +03:00
<?xml version="1.0" encoding="UTF-8"?>
<phpunit backupGlobals="false"
backupStaticAttributes="false"
bootstrap="vendor/autoload.php"
colors="true"
convertErrorsToExceptions="true"
convertNoticesToExceptions="true"
convertWarningsToExceptions="true"
processIsolation="false"
stopOnFailure="false"
syntaxCheck="false">
<testsuites>
2020-02-18 18:11:23 +03:00
<testsuite name="catalog-tests">
<directory suffix="CatalogTest.php">./tests/catalog/</directory>
</testsuite>
<testsuite name="admin-tests">
<directory suffix="AdminTest.php">./tests/admin/</directory>
2018-06-13 16:13:08 +03:00
</testsuite>
<testsuite name="system-tests">
<directory suffix="Test.php">./tests/system/</directory>
</testsuite>
2018-06-13 16:13:08 +03:00
</testsuites>
<php>
<env name="OC_ROOT" value="./www/" />
2020-02-20 15:26:18 +03:00
<env name="HTTP_SERVER" value="http://localhost:80/" />
2020-02-19 13:01:38 +03:00
<env name="TEST_CONFIG" value="test-config" />
2018-06-13 16:13:08 +03:00
</php>
2020-02-18 16:16:39 +03:00
<filter>
<whitelist addUncoveredFilesFromWhitelist="true">
2020-02-18 17:29:05 +03:00
<directory suffix="retailcrm.php">./www/admin/controller</directory>
<directory>./www/admin/model/extension/retailcrm</directory>
<directory suffix="retailcrm.php">./www/catalog/controller</directory>
<directory suffix="daemon_collector.php">./www/catalog/controller</directory>
<directory>./www/catalog/model/extension/retailcrm</directory>
<directory suffix=".php">./www/system/library/retailcrm</directory>
<exclude>
<directory suffix=".php">./www/system/library/retailcrm/lib/api</directory>
</exclude>
2020-02-18 16:16:39 +03:00
</whitelist>
</filter>
</phpunit>