Skip to content

Commit

Permalink
Migrated phpunt
Browse files Browse the repository at this point in the history
  • Loading branch information
helios-ag committed Nov 20, 2023
1 parent 19a4fe2 commit 66edf61
Showing 1 changed file with 35 additions and 39 deletions.
74 changes: 35 additions & 39 deletions phpunit.xml.dist
Original file line number Diff line number Diff line change
@@ -1,41 +1,37 @@
<?xml version="1.0" encoding="UTF-8"?>

<phpunit
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
bootstrap="tests/autoload.php"
colors="true"
xsi:noNamespaceSchemaLocation="../vendor/phpunit/phpunit/phpunit.xsd"
>

<php>
<server name="KERNEL_DIR" value="./tests/Functional" />
<ini name="error_reporting" value="-1" />
</php>

<listeners>
<listener class="Symfony\Bridge\PhpUnit\SymfonyTestsListener" />
</listeners>

<testsuites>
<testsuite name="FMElfinderBundle test suite">
<directory>./tests</directory>
</testsuite>
</testsuites>

<filter>
<whitelist addUncoveredFilesFromWhitelist="true">
<directory>./</directory>
<exclude>
<directory>./src/Controller</directory>
<directory>./src/Resources</directory>
<directory>./tests</directory>
<directory>./vendor</directory>
</exclude>
</whitelist>
</filter>

<logging>
<!-- and this is where your report will be written -->
<log type="coverage-clover" target="./clover.xml"/>
</logging>
<phpunit
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
bootstrap="tests/autoload.php"
colors="true"
xsi:noNamespaceSchemaLocation="https://schema.phpunit.de/9.6/phpunit.xsd"
>
<coverage includeUncoveredFiles="true">
<include>
<directory>./</directory>
</include>
<exclude>
<directory>./src/Controller</directory>
<directory>./src/Resources</directory>
<directory>./tests</directory>
<directory>./vendor</directory>
</exclude>
<report>
<clover outputFile="./clover.xml"/>
</report>
</coverage>
<php>
<server name="KERNEL_DIR" value="./tests/Functional"/>
<ini name="error_reporting" value="-1"/>
</php>
<listeners>
<listener class="Symfony\Bridge\PhpUnit\SymfonyTestsListener"/>
</listeners>
<testsuites>
<testsuite name="FMElfinderBundle test suite">
<directory>./tests</directory>
</testsuite>
</testsuites>
<logging>
<!-- and this is where your report will be written -->
</logging>
</phpunit>

0 comments on commit 66edf61

Please sign in to comment.