N°4655 New nightly PHPUnit file containing OQL tests

Those tests were removed in 72af2b7c as they took too much time to run.
We are re-enabling them but only for nightly builds !
This commit is contained in:
Pierre Goiffon
2022-05-18 08:54:07 +02:00
parent 61a2d200b4
commit 534e7cf59d
2 changed files with 42 additions and 4 deletions

View File

@@ -44,10 +44,6 @@
<testsuite name="Itop-Tickets">
<directory>itop-tickets</directory>
</testsuite>
<!-- OQL : taking too long (20min+)... we should move this to nightlies ! See N°4655 -->
<!-- testsuite name="OQL">
<directory>OQL</directory>
</testsuite -->
<testsuite name="Setup">
<directory>setup</directory>
</testsuite>

View File

@@ -0,0 +1,42 @@
<?xml version="1.0" encoding="UTF-8"?>
<phpunit
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:noNamespaceSchemaLocation="https://schema.phpunit.de/8.5/phpunit.xsd"
bootstrap="unittestautoload.php"
backupGlobals="true"
colors="true"
convertErrorsToExceptions="true"
convertNoticesToExceptions="true"
convertWarningsToExceptions="true"
processIsolation="false"
stopOnError="false"
stopOnFailure="false"
stopOnIncomplete="false"
stopOnRisky="false"
stopOnSkipped="false"
verbose="true"
>
<php>
<ini name="error_reporting" value="E_ALL"/>
<ini name="display_errors" value="On"/>
<ini name="log_errors" value="On"/>
<ini name="html_errors" value="On"/>
</php>
<testsuites>
<testsuite name="OQL">
<directory>OQL</directory>
</testsuite>
</testsuites>
<!-- Code coverage white list -->
<filter>
<whitelist>
<file>../core/apc-emulation.php</file>
<file>../core/ormlinkset.class.inc.php</file>
<file>../datamodels/2.x/itop-tickets/main.itop-tickets.php</file>
</whitelist>
</filter>
</phpunit>