|
|
|
|
@ -1,6 +1,12 @@ |
|
|
|
|
<?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="https://schema.phpunit.de/9.3/phpunit.xsd" backupGlobals="false" colors="true" bootstrap="tests/bootstrap.php"> |
|
|
|
|
<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" |
|
|
|
|
convertDeprecationsToExceptions="false" |
|
|
|
|
> |
|
|
|
|
<coverage processUncoveredFiles="true"> |
|
|
|
|
<include> |
|
|
|
|
<directory suffix=".php">src</directory> |
|
|
|
|
@ -9,17 +15,22 @@ |
|
|
|
|
<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> |
|
|
|
|
<ini name="display_errors" value="1"/> |
|
|
|
|
<ini name="error_reporting" value="-1"/> |
|
|
|
|
<server name="APP_ENV" value="test" force="true"/> |
|
|
|
|
<server name="SHELL_VERBOSITY" value="-1"/> |
|
|
|
|
<server name="SYMFONY_PHPUNIT_REMOVE" value=""/> |
|
|
|
|
<server name="SYMFONY_PHPUNIT_VERSION" value="9.6"/> |
|
|
|
|
</php> |
|
|
|
|
|
|
|
|
|
<testsuites> |
|
|
|
|
<testsuite name="Chamilo Test Suite"> |
|
|
|
|
<directory>tests</directory> |
|
|
|
|
</testsuite> |
|
|
|
|
</testsuites> |
|
|
|
|
|
|
|
|
|
<listeners> |
|
|
|
|
<listener class="Symfony\Bridge\PhpUnit\SymfonyTestsListener"/> |
|
|
|
|
</listeners> |
|
|
|
|
|