mirror of
https://github.com/Combodo/iTop.git
synced 2026-04-22 18:18:46 +02:00
✅ 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:
@@ -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>
|
||||
|
||||
42
test/phpunit_nightly.xml.dist
Normal file
42
test/phpunit_nightly.xml.dist
Normal 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>
|
||||
Reference in New Issue
Block a user