Make PHPUnit strict about risky tests
This commit is contained in:
parent
aa13e49fdf
commit
27300bf4af
@ -11,15 +11,11 @@
|
|||||||
tests/ folder: phpunit -c <filename> ...
|
tests/ folder: phpunit -c <filename> ...
|
||||||
Example: phpunit -c mysqlconf.xml AllTests
|
Example: phpunit -c mysqlconf.xml AllTests
|
||||||
-->
|
-->
|
||||||
<phpunit backupGlobals="false"
|
<phpunit xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
||||||
backupStaticAttributes="false"
|
xsi:noNamespaceSchemaLocation="vendor/phpunit/phpunit/phpunit.xsd"
|
||||||
colors="true"
|
colors="true"
|
||||||
convertErrorsToExceptions="true"
|
verbose="true"
|
||||||
convertNoticesToExceptions="true"
|
failOnRisky="true"
|
||||||
convertWarningsToExceptions="true"
|
|
||||||
processIsolation="false"
|
|
||||||
stopOnFailure="false"
|
|
||||||
syntaxCheck="false"
|
|
||||||
bootstrap="./tests/Doctrine/Tests/TestInit.php"
|
bootstrap="./tests/Doctrine/Tests/TestInit.php"
|
||||||
>
|
>
|
||||||
|
|
||||||
|
@ -1,5 +1,11 @@
|
|||||||
<?xml version="1.0" encoding="utf-8"?>
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
<phpunit bootstrap="../Doctrine/Tests/TestInit.php" colors="true">
|
<phpunit xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
||||||
|
xsi:noNamespaceSchemaLocation="../../vendor/phpunit/phpunit/phpunit.xsd"
|
||||||
|
colors="true"
|
||||||
|
verbose="true"
|
||||||
|
failOnRisky="true"
|
||||||
|
bootstrap="../Doctrine/Tests/TestInit.php"
|
||||||
|
>
|
||||||
<php>
|
<php>
|
||||||
<var name="db_type" value="pdo_mysql"/>
|
<var name="db_type" value="pdo_mysql"/>
|
||||||
<var name="db_host" value="localhost" />
|
<var name="db_host" value="localhost" />
|
||||||
|
@ -1,5 +1,11 @@
|
|||||||
<?xml version="1.0" encoding="utf-8"?>
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
<phpunit bootstrap="../Doctrine/Tests/TestInit.php" colors="true">
|
<phpunit xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
||||||
|
xsi:noNamespaceSchemaLocation="../../vendor/phpunit/phpunit/phpunit.xsd"
|
||||||
|
colors="true"
|
||||||
|
verbose="true"
|
||||||
|
failOnRisky="true"
|
||||||
|
bootstrap="../Doctrine/Tests/TestInit.php"
|
||||||
|
>
|
||||||
<php>
|
<php>
|
||||||
<var name="db_type" value="pdo_mysql"/>
|
<var name="db_type" value="pdo_mysql"/>
|
||||||
<var name="db_host" value="localhost" />
|
<var name="db_host" value="localhost" />
|
||||||
|
@ -1,5 +1,11 @@
|
|||||||
<?xml version="1.0" encoding="utf-8"?>
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
<phpunit bootstrap="../Doctrine/Tests/TestInit.php" colors="true">
|
<phpunit xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
||||||
|
xsi:noNamespaceSchemaLocation="../../vendor/phpunit/phpunit/phpunit.xsd"
|
||||||
|
colors="true"
|
||||||
|
verbose="true"
|
||||||
|
failOnRisky="true"
|
||||||
|
bootstrap="../Doctrine/Tests/TestInit.php"
|
||||||
|
>
|
||||||
<php>
|
<php>
|
||||||
<!-- "Real" test database -->
|
<!-- "Real" test database -->
|
||||||
<var name="db_type" value="pdo_pgsql"/>
|
<var name="db_type" value="pdo_pgsql"/>
|
||||||
|
@ -1,6 +1,11 @@
|
|||||||
<?xml version="1.0" encoding="utf-8"?>
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
<phpunit bootstrap="../Doctrine/Tests/TestInit.php" colors="true">
|
<phpunit xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
||||||
|
xsi:noNamespaceSchemaLocation="../../vendor/phpunit/phpunit/phpunit.xsd"
|
||||||
|
colors="true"
|
||||||
|
verbose="true"
|
||||||
|
failOnRisky="true"
|
||||||
|
bootstrap="../Doctrine/Tests/TestInit.php"
|
||||||
|
>
|
||||||
<testsuites>
|
<testsuites>
|
||||||
<testsuite name="Doctrine ORM Test Suite">
|
<testsuite name="Doctrine ORM Test Suite">
|
||||||
<directory>./../Doctrine/Tests/ORM</directory>
|
<directory>./../Doctrine/Tests/ORM</directory>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user