File: dbproperties.xml.dev

package info (click to toggle)
doctrine 2.14.1%2Bdfsg-1
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 10,612 kB
  • sloc: php: 113,660; xml: 4,630; makefile: 28; sh: 14
file content (44 lines) | stat: -rw-r--r-- 2,086 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
<?xml version="1.0" encoding="utf-8"?>
<!--
    Use this configuration file as a template to run the tests against any dbms.
    Procedure:
        1) Save a copy of this file with a name of your choosing. It doesn't matter
           where you place it as long as you know where it is.
           i.e. "mysqlconf.xml" (It needs the ending .xml).
        2) Edit the file and fill in your settings (database name, type, username, etc.)
           Just change the "value"s, not the names of the var elements.
        3) To run the tests against the database type the following from within the
           tests/ folder: phpunit --configuration <filename> ...
           Example: phpunit --configuration mysqlconf.xml AllTests
-->
<phpunit>
  <php>
    <!-- "Real" test database -->
    <var name="db_driver" value="pdo_mysql"/>
    <var name="db_host" value="localhost" />
    <var name="db_user" value="root" />
    <var name="db_password" value="" />
    <var name="db_dbname" value="doctrine_tests" />
    <var name="db_port" value="3306"/>
    <!--<var name="db_event_subscribers" value="Doctrine\DBAL\Event\Listeners\OracleSessionInit">-->
    
    <!--
    At the start of each test run, we will drop and recreate the test database.

    By default we assume that the `db_` config above has unrestricted access to the provided database
    platform.

    If you prefer, you can provide a restricted user above and a separate `privileged_db` config
    block to provide details of a privileged connection to use for the setup / teardown actions.

    Note that these configurations are not merged - if you specify a `privileged_db_driver` then
    you must also specify all the other options that your driver requires.
    <var name="privileged_db_driver" value="pdo_mysql"/>
    <var name="privileged_db_host" value="localhost" />
    <var name="privileged_db_username" value="root" />
    <var name="privileged_db_password" value="" />
    <var name="privileged_db_dbname" value="doctrine_tests_tmp" />
    <var name="privileged_db_port" value="3306"/>
    -->
  </php>
</phpunit>