Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
PHPUnit XML configs for other db drivers on TeamCity
- Loading branch information
Showing
3 changed files
with
93 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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> |