Rajout de doctrine/orm
[zf2.biz/galerie.git] / vendor / doctrine / dbal / phpunit.xml.dist
1 <?xml version="1.0" encoding="utf-8"?>
2 <!--
3     Use this configuration file as a template to run the tests against any dbms.
4     Procedure:
5         1) Save a copy of this file with a name of your chosing. It doesn't matter
6            where you place it as long as you know where it is.
7            i.e. "mysqlconf.xml" (It needs the ending .xml).
8         2) Edit the file and fill in your settings (database name, type, username, etc.)
9            Just change the "value"s, not the names of the var elements.
10         3) To run the tests against the database type the following from within the
11            tests/ folder: phpunit -c <filename> ...
12            Example: phpunit -c mysqlconf.xml
13 -->
14 <phpunit backupGlobals="false"
15          backupStaticAttributes="false"
16          colors="true"
17          convertErrorsToExceptions="true"
18          convertNoticesToExceptions="true"
19          convertWarningsToExceptions="true"
20          processIsolation="false"
21          stopOnFailure="false"
22          syntaxCheck="false"
23          bootstrap="./tests/Doctrine/Tests/TestInit.php"
24 >
25   <php>
26     <!-- "Real" test database -->
27     <!-- Uncomment, otherwise SQLite runs
28     <var name="db_type" value="pdo_mysql"/>
29     <var name="db_host" value="localhost" />
30     <var name="db_username" value="root" />
31     <var name="db_password" value="" />
32     <var name="db_name" value="doctrine_tests" />
33     <var name="db_port" value="3306"/>
34     -->
35     <!--<var name="db_event_subscribers" value="Doctrine\DBAL\Event\Listeners\OracleSessionInit">-->
36     
37     <!-- Database for temporary connections (i.e. to drop/create the main database) -->
38     <var name="tmpdb_type" value="pdo_mysql"/>
39     <var name="tmpdb_host" value="localhost" />
40     <var name="tmpdb_username" value="root" />
41     <var name="tmpdb_password" value="" />
42     <var name="tmpdb_name" value="doctrine_tests_tmp" />
43     <var name="tmpdb_port" value="3306"/>
44   </php>
45
46     <testsuites>
47         <testsuite name="Doctrine DBAL Test Suite">
48             <directory>./tests/Doctrine/Tests/DBAL</directory>
49         </testsuite>
50     </testsuites>
51 </phpunit>