Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Newer
Older
100644 51 lines (49 sloc) 2.091 kb
373a0ac9 » romanb
2008-02-10 changes on the new test suite.
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
983dd1d1 » beberlei
2011-06-18 Remove AllTests approach to PHPUnit and work with a phpunit.xml.dist …
11 tests/ folder: phpunit -c <filename> ...
12 Example: phpunit -c mysqlconf.xml
373a0ac9 » romanb
2008-02-10 changes on the new test suite.
13 -->
983dd1d1 » beberlei
2011-06-18 Remove AllTests approach to PHPUnit and work with a phpunit.xml.dist …
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 >
373a0ac9 » romanb
2008-02-10 changes on the new test suite.
25 <php>
548e0746 » romanb
2009-05-30 [2.0] Solved the hassle with dropping/creating the test database thro…
26 <!-- "Real" test database -->
983dd1d1 » beberlei
2011-06-18 Remove AllTests approach to PHPUnit and work with a phpunit.xml.dist …
27 <!-- Uncomment, otherwise SQLite runs
746d9bc3 » jwage
2009-05-27 [2.0] Adding listTableColumns() support for mysql.
28 <var name="db_type" value="pdo_mysql"/>
373a0ac9 » romanb
2008-02-10 changes on the new test suite.
29 <var name="db_host" value="localhost" />
746d9bc3 » jwage
2009-05-27 [2.0] Adding listTableColumns() support for mysql.
30 <var name="db_username" value="root" />
31 <var name="db_password" value="" />
32 <var name="db_name" value="doctrine_tests" />
34f4ee71 » romanb
2009-01-12 First tests for basic collection implementation. First experimental u…
33 <var name="db_port" value="3306"/>
983dd1d1 » beberlei
2011-06-18 Remove AllTests approach to PHPUnit and work with a phpunit.xml.dist …
34 -->
cb7fbee1 » beberlei
2010-01-31 [2.0] DDC-295 - Add OracleSessionInit postConnect Subscriber
35 <!--<var name="db_event_subscribers" value="Doctrine\DBAL\Event\Listeners\OracleSessionInit">-->
548e0746 » romanb
2009-05-30 [2.0] Solved the hassle with dropping/creating the test database thro…
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"/>
373a0ac9 » romanb
2008-02-10 changes on the new test suite.
44 </php>
983dd1d1 » beberlei
2011-06-18 Remove AllTests approach to PHPUnit and work with a phpunit.xml.dist …
45
46 <testsuites>
47 <testsuite name="Doctrine DBAL Test Suite">
48 <directory>./tests/Doctrine/Tests/DBAL</directory>
49 </testsuite>
50 </testsuites>
373a0ac9 » romanb
2008-02-10 changes on the new test suite.
51 </phpunit>
Something went wrong with that request. Please try again.