|
|
|
@ -1,35 +1,28 @@ |
|
|
|
|
<?xml version="1.0" encoding="UTF-8"?> |
|
|
|
|
|
|
|
|
|
<!-- https://phpunit.readthedocs.io/en/latest/configuration.html --> |
|
|
|
|
<phpunit xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" |
|
|
|
|
xsi:noNamespaceSchemaLocation="vendor/phpunit/phpunit/phpunit.xsd" |
|
|
|
|
backupGlobals="false" |
|
|
|
|
colors="true" |
|
|
|
|
bootstrap="tests/bootstrap.php" |
|
|
|
|
> |
|
|
|
|
<phpunit xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="https://schema.phpunit.de/9.3/phpunit.xsd" backupGlobals="false" colors="true" bootstrap="tests/bootstrap.php"> |
|
|
|
|
<coverage processUncoveredFiles="true"> |
|
|
|
|
<include> |
|
|
|
|
<directory suffix=".php">src</directory> |
|
|
|
|
</include> |
|
|
|
|
<exclude> |
|
|
|
|
<directory>src/DataFixtures</directory> |
|
|
|
|
</exclude> |
|
|
|
|
</coverage> |
|
|
|
|
<php> |
|
|
|
|
<ini name="error_reporting" value="-1"/> |
|
|
|
|
<server name="APP_ENV" value="test" force="true"/> |
|
|
|
|
<server name="SHELL_VERBOSITY" value="-1"/> |
|
|
|
|
<env name="SYMFONY_DEPRECATIONS_HELPER" value="weak"/> |
|
|
|
|
</php> |
|
|
|
|
|
|
|
|
|
<testsuites> |
|
|
|
|
<testsuite name="Chamilo Test Suite"> |
|
|
|
|
<directory>tests</directory> |
|
|
|
|
</testsuite> |
|
|
|
|
</testsuites> |
|
|
|
|
|
|
|
|
|
<filter> |
|
|
|
|
<whitelist processUncoveredFilesFromWhitelist="true"> |
|
|
|
|
<directory suffix=".php">src</directory> |
|
|
|
|
</whitelist> |
|
|
|
|
</filter> |
|
|
|
|
|
|
|
|
|
<listeners> |
|
|
|
|
<listener class="Symfony\Bridge\PhpUnit\SymfonyTestsListener"/> |
|
|
|
|
</listeners> |
|
|
|
|
|
|
|
|
|
<extensions> |
|
|
|
|
<extension class="DAMA\DoctrineTestBundle\PHPUnit\PHPUnitExtension"/> |
|
|
|
|
<!-- Run `composer require symfony/panther` before enabling this extension --> |
|
|
|
|