-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Use own phpunit config file, no errors on deprecations
- Loading branch information
Showing
2 changed files
with
34 additions
and
1 deletion.
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
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,33 @@ | ||
<?xml version="1.0"?> | ||
<phpunit xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" | ||
xsi:noNamespaceSchemaLocation="https://schema.phpunit.de/10.1/phpunit.xsd" | ||
backupGlobals="true" | ||
beStrictAboutTestsThatDoNotTestAnything="false" | ||
bootstrap=".Build/vendor/typo3/testing-framework/Resources/Core/Build/UnitTestsBootstrap.php" | ||
cacheDirectory=".phpunit.cache" | ||
cacheResult="false" | ||
colors="true" | ||
displayDetailsOnTestsThatTriggerDeprecations="true" | ||
displayDetailsOnTestsThatTriggerErrors="true" | ||
displayDetailsOnTestsThatTriggerNotices="true" | ||
displayDetailsOnTestsThatTriggerWarnings="true" | ||
failOnDeprecation="false" | ||
failOnNotice="true" | ||
failOnRisky="true" | ||
failOnWarning="true" | ||
requireCoverageMetadata="false" | ||
> | ||
<testsuites> | ||
<testsuite name="Unit tests"> | ||
<!-- | ||
This path either needs an adaption in extensions, or an extension's | ||
test location path needs to be given to phpunit. | ||
--> | ||
<directory>./Tests/Unit/</directory> | ||
</testsuite> | ||
</testsuites> | ||
<php> | ||
<ini name="display_errors" value="1"/> | ||
<env name="TYPO3_CONTEXT" value="Testing"/> | ||
</php> | ||
</phpunit> |