Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

PHPUnit XML configs for other db drivers on TeamCity

  • Loading branch information...
commit c8dbcf73a366d78e8d15d1fa7a12b1cd2c602de3 1 parent 1ca61a5
@chillu chillu authored
View
31 phpunit.teamcity.mssql.xml
@@ -0,0 +1,31 @@
+<phpunit bootstrap="framework/tests/bootstrap.php" colors="false" backupGlobals="false" backupStaticAttributes="false" convertErrorsToExceptions="true" convertNoticesToExceptions="true" convertWarningsToExceptions="true" processIsolation="false" stopOnError="false" stopOnFailure="false" stopOnIncomplete="false" stopOnSkipped="false" syntaxCheck="false" verbose="true" strict="true">
+
+ <testsuite name="Default">
+ <directory>mysite/tests</directory>
+ <directory>cms/tests</directory>
+ <directory>framework/tests</directory>
+ <directory>mssql/tests</directory>
+ </testsuite>
+
+ <listeners>
+ <listener class="SS_TestListener" file="framework/dev/TestListener.php" />
+ <listener class="TeamCityListener" file="framework/dev/TeamCityListener.php"/>
+ </listeners>
+
+ <groups>
+ <exclude>
+ <group>sanitychecks</group>
+ </exclude>
+ </groups>
+
+ <!--
+ Set different database connection.
+ Relies on the presence of the 'zframeworktest_dbswitcher' module
+ (https://github.com/silverstripe-labs/zframeworktest_dbswitcher),
+ as well as on constants in _ss_environment.php (see module README).
+ -->
+ <php>
+ <get name="db" value="mssql"/>
+ </php>
+
+</phpunit>
View
31 phpunit.teamcity.postgresql.xml
@@ -0,0 +1,31 @@
+<phpunit bootstrap="framework/tests/bootstrap.php" colors="false" backupGlobals="false" backupStaticAttributes="false" convertErrorsToExceptions="true" convertNoticesToExceptions="true" convertWarningsToExceptions="true" processIsolation="false" stopOnError="false" stopOnFailure="false" stopOnIncomplete="false" stopOnSkipped="false" syntaxCheck="false" verbose="true" strict="true">
+
+ <testsuite name="Default">
+ <directory>mysite/tests</directory>
+ <directory>cms/tests</directory>
+ <directory>framework/tests</directory>
+ <directory>postgresql/tests</directory>
+ </testsuite>
+
+ <listeners>
+ <listener class="SS_TestListener" file="framework/dev/TestListener.php" />
+ <listener class="TeamCityListener" file="framework/dev/TeamCityListener.php"/>
+ </listeners>
+
+ <groups>
+ <exclude>
+ <group>sanitychecks</group>
+ </exclude>
+ </groups>
+
+ <!--
+ Set different database connection.
+ Relies on the presence of the 'zframeworktest_dbswitcher' module
+ (https://github.com/silverstripe-labs/zframeworktest_dbswitcher),
+ as well as on constants in _ss_environment.php (see module README).
+ -->
+ <php>
+ <get name="db" value="postgresql"/>
+ </php>
+
+</phpunit>
View
31 phpunit.teamcity.sqlite3.xml
@@ -0,0 +1,31 @@
+<phpunit bootstrap="framework/tests/bootstrap.php" colors="false" backupGlobals="false" backupStaticAttributes="false" convertErrorsToExceptions="true" convertNoticesToExceptions="true" convertWarningsToExceptions="true" processIsolation="false" stopOnError="false" stopOnFailure="false" stopOnIncomplete="false" stopOnSkipped="false" syntaxCheck="false" verbose="true" strict="true">
+
+ <testsuite name="Default">
+ <directory>mysite/tests</directory>
+ <directory>cms/tests</directory>
+ <directory>framework/tests</directory>
+ <directory>sqlite3/tests</directory>
+ </testsuite>
+
+ <listeners>
+ <listener class="SS_TestListener" file="framework/dev/TestListener.php" />
+ <listener class="TeamCityListener" file="framework/dev/TeamCityListener.php"/>
+ </listeners>
+
+ <groups>
+ <exclude>
+ <group>sanitychecks</group>
+ </exclude>
+ </groups>
+
+ <!--
+ Set different database connection.
+ Relies on the presence of the 'zframeworktest_dbswitcher' module
+ (https://github.com/silverstripe-labs/zframeworktest_dbswitcher),
+ as well as on constants in _ss_environment.php (see module README).
+ -->
+ <php>
+ <get name="db" value="sqlite3"/>
+ </php>
+
+</phpunit>
Please sign in to comment.
Something went wrong with that request. Please try again.