|
| 1 | +<?xml version="1.0"?> |
| 2 | +<phpunit xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" |
| 3 | + xsi:noNamespaceSchemaLocation="https://schema.phpunit.de/10.5/phpunit.xsd" |
| 4 | + bootstrap="tests/LongitudeOne/Spatial/Tests/TestInit.php" executionOrder="depends,defects" stopOnFailure="true" |
| 5 | + displayDetailsOnTestsThatTriggerDeprecations="true" |
| 6 | + displayDetailsOnTestsThatTriggerWarnings="true" |
| 7 | + displayDetailsOnTestsThatTriggerErrors="true" |
| 8 | + stopOnError="true" stopOnWarning="true" stopOnDefect="true" cacheDirectory=".phpunit.cache"> |
| 9 | + <testsuites> |
| 10 | + <testsuite name="default"> |
| 11 | + <directory>tests/LongitudeOne/Spatial/Tests</directory> |
| 12 | + </testsuite> |
| 13 | + </testsuites> |
| 14 | + <groups> |
| 15 | + <include> |
| 16 | + <group>php</group> |
| 17 | + <group>dql</group> |
| 18 | + <group>geometry</group> |
| 19 | + <group>geography</group> |
| 20 | + <group>srid</group> |
| 21 | + <group>pgsql-only</group> |
| 22 | + <group>issue</group> |
| 23 | + <group>mssql-only</group> |
| 24 | + </include> |
| 25 | + <exclude> |
| 26 | + <group>mysql-only</group> |
| 27 | + <group>pgsql-only</group> |
| 28 | + </exclude> |
| 29 | + </groups> |
| 30 | + <php> |
| 31 | + <var name="db_type" value="pdo_sqlsrv"/> |
| 32 | + <var name="db_host" value="spatial-mssql2017"/> |
| 33 | + <var name="db_username" value="sa"/> |
| 34 | + <var name="db_password" value="mainExtendedToMoreThan8Chars"/> |
| 35 | + <var name="db_name" value="main"/> |
| 36 | + <var name="db_port" value="1433"/> |
| 37 | + <var name="db_driver_options" value="TrustServerCertificate=1"/> |
| 38 | + <!-- mssql cannot drop current database, --> |
| 39 | + <!-- Also, we connect on the alternate database, then we drop the main database --> |
| 40 | + <var name="db_alternate" value="master"/> |
| 41 | + <!-- Select timezone for log --> |
| 42 | + <var name="opt_log_timezone" value="Europe/Paris"/> |
| 43 | + <!-- Select the log level : debug to get each request, info to get each starting test and disconnection --> |
| 44 | + <var name="opt_log_level" value="debug"/> |
| 45 | + <!-- Select the directory to store the log files --> |
| 46 | + <var name="opt_log_dir" value=".phpunit.cache/logs"/> |
| 47 | + <!-- Select the log file name --> |
| 48 | + <var name="opt_log_file" value="mssql2017.log"/> |
| 49 | + </php> |
| 50 | + <source> |
| 51 | + <include> |
| 52 | + <directory suffix=".php">lib/</directory> |
| 53 | + </include> |
| 54 | + </source> |
| 55 | +</phpunit> |
0 commit comments