Init Gitea
This commit is contained in:
49
phpunit.xml.dist
Normal file
49
phpunit.xml.dist
Normal file
@@ -0,0 +1,49 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
|
||||
<phpunit xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
||||
xsi:noNamespaceSchemaLocation="http://schema.phpunit.de/6.5/phpunit.xsd"
|
||||
backupGlobals="false"
|
||||
colors="true"
|
||||
bootstrap="Tests/bootstrap.php"
|
||||
>
|
||||
<php>
|
||||
<ini name="error_reporting" value="-1"/>
|
||||
<env name="KERNEL_CLASS" value="Eccube\Kernel"/>
|
||||
<env name="APP_ENV" value="test"/>
|
||||
<env name="APP_DEBUG" value="1"/>
|
||||
<env name="SHELL_VERBOSITY" value="-1"/>
|
||||
<env name="SYMFONY_DEPRECATIONS_HELPER" value="weak"/>
|
||||
<env name="SYMFONY_PHPUNIT_VERSION" value="9.5"/>
|
||||
<!-- define your env variables for the test env here -->
|
||||
</php>
|
||||
|
||||
<!-- テストの場所 -->
|
||||
<testsuites>
|
||||
<testsuite name="Plugin Test Suite">
|
||||
<directory>./Tests</directory>
|
||||
</testsuite>
|
||||
</testsuites>
|
||||
|
||||
<!-- 出力するログファイル
|
||||
<logging>
|
||||
<log type="coverage-clover" target="./reports/coverage.clover"/>
|
||||
</logging>
|
||||
-->
|
||||
|
||||
<!-- カバーレージのターゲット -->
|
||||
<filter>
|
||||
<whitelist processUncoveredFilesFromWhitelist="true">
|
||||
<directory suffix=".php">./</directory>
|
||||
<exclude>
|
||||
<directory suffix=".php">./Tests</directory>
|
||||
<directory suffix=".php">./Resource</directory>
|
||||
<file>./PluginManager.php</file>
|
||||
</exclude>
|
||||
</whitelist>
|
||||
</filter>
|
||||
|
||||
<listeners>
|
||||
<listener class="Symfony\Bridge\PhpUnit\SymfonyTestsListener"/>
|
||||
<listener class="\DAMA\DoctrineTestBundle\PHPUnit\PHPUnitListener"/>
|
||||
</listeners>
|
||||
</phpunit>
|
||||
Reference in New Issue
Block a user