-
Notifications
You must be signed in to change notification settings - Fork 824
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
e46135b
commit ed19ae8
Showing
1 changed file
with
27 additions
and
36 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 |
---|---|---|
@@ -1,38 +1,29 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<!-- | ||
Standard module phpunit configuration. | ||
Requires PHPUnit ^9 | ||
--> | ||
<phpunit bootstrap="tests/bootstrap.php" colors="true"> | ||
<testsuites> | ||
<testsuite name="Default"> | ||
<directory>tests/php</directory> | ||
</testsuite> | ||
<!-- Framework ORM tests are split up to run in parallel --> | ||
<testsuite name="framework-core"> | ||
<directory>tests/php</directory> | ||
<exclude> | ||
<directory>tests/php/ORM</directory> | ||
</exclude> | ||
</testsuite> | ||
<testsuite name="framework-orm"> | ||
<directory>tests/php/ORM</directory> | ||
</testsuite> | ||
<testsuite name="cms"> | ||
<directory>vendor/silverstripe/cms/tests</directory> | ||
</testsuite> | ||
<!-- Cache suite is separate so it only runs what it needs to run. Intentionally also included in core above. --> | ||
<testsuite name="framework-cache-only"> | ||
<directory>tests/php/Core/Cache</directory> | ||
</testsuite> | ||
</testsuites> | ||
<filter> | ||
<whitelist addUncoveredFilesFromWhitelist="true"> | ||
<directory suffix=".php">.</directory> | ||
<exclude> | ||
<directory suffix=".php">tests/</directory> | ||
<directory suffix=".php">thirdparty/</directory> | ||
</exclude> | ||
</whitelist> | ||
</filter> | ||
<phpunit xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" bootstrap="tests/bootstrap.php" colors="true" xsi:noNamespaceSchemaLocation="https://schema.phpunit.de/11.3/phpunit.xsd" cacheDirectory=".phpunit.cache"> | ||
<testsuites> | ||
<testsuite name="Default"> | ||
<directory>tests/php</directory> | ||
</testsuite> | ||
<!-- Framework ORM tests are split up to run in parallel --> | ||
<testsuite name="framework-core"> | ||
<directory>tests/php</directory> | ||
<!-- Exclude ORM tests from core suite by requiring PHP version 99 or above --> | ||
<directory phpVersion="99.0.0" phpVersionOperator=">=">tests/php/ORM</directory> | ||
</testsuite> | ||
<testsuite name="framework-orm"> | ||
<directory>tests/php/ORM</directory> | ||
</testsuite> | ||
<!-- Cache suite is separate so it only runs what it needs to run. Intentionally also included in core above. --> | ||
<testsuite name="framework-cache-only"> | ||
<directory>tests/php/Core/Cache</directory> | ||
</testsuite> | ||
</testsuites> | ||
<source> | ||
<include> | ||
<directory suffix=".php">.</directory> | ||
</include> | ||
<exclude> | ||
<directory suffix=".php">thirdparty/</directory> | ||
</exclude> | ||
</source> | ||
</phpunit> |