mirror of https://github.com/FriendsOfTYPO3/tea.git synced 2024-11-15 22:36:13 +01:00
tea/Build/phpunit/UnitTests.xml

46 lines
1.5 KiB
XML
Raw Normal View History

<!--
Unit test suite setup.
Unit tests should extend \TYPO3\TestingFramework\Core\Tests\UnitTestCase,
take a look at this class for further documentation on how to run the suite.
TYPO3 CMS unit test suite also needs phpunit bootstrap code, the
file is located next to this .xml as UnitTestsBootstrap.php
-->
<phpunit
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:noNamespaceSchemaLocation="https://schema.phpunit.de/9.5/phpunit.xsd"
backupGlobals="true"
bootstrap="UnitTestsBootstrap.php"
cacheResult="false"
colors="true"
convertDeprecationsToExceptions="true"
convertErrorsToExceptions="true"
convertWarningsToExceptions="true"
convertNoticesToExceptions="true"
forceCoversAnnotation="false"
processIsolation="false"
stopOnError="false"
stopOnFailure="false"
stopOnIncomplete="false"
stopOnSkipped="false"
verbose="false"
beStrictAboutTestsThatDoNotTestAnything="true"
failOnWarning="true"
failOnRisky="true"
>
<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>