-
Notifications
You must be signed in to change notification settings - Fork 128
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
35 additions
and
39 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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> |