mirror of https://github.com/FriendsOfTYPO3/tea.git synced 2024-11-10 04:56:12 +01:00

[TASK] Add coverage configuration for functional tests (#1092)

We already had this for unit tests, but it was missing for
functional tests.

Also, we do not need to provide a path in this configuration - it
suffices to have this node present in the configuration files.

Closes #1078
This commit is contained in:
Oliver Klee 2024-01-02 22:34:49 +01:00 committed by GitHub
parent 13b2105030
commit 0ff0f83edd
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 8 deletions

View file

@ -20,6 +20,7 @@
stopOnSkipped="false" stopOnSkipped="false"
verbose="false" verbose="false"
> >
<coverage/>
<testsuites> <testsuites>
<testsuite name="Functional tests"> <testsuite name="Functional tests">
<!-- <!--

View file

@ -21,6 +21,7 @@
stopOnSkipped="false" stopOnSkipped="false"
verbose="false" verbose="false"
> >
<coverage/>
<testsuites> <testsuites>
<testsuite name="Unit tests"> <testsuite name="Unit tests">
<!-- <!--
@ -30,14 +31,6 @@
<directory suffix="Test.php">./</directory> <directory suffix="Test.php">./</directory>
</testsuite> </testsuite>
</testsuites> </testsuites>
<coverage>
<include>
<!--
This path needs an adaption in extensions, when coverage statistics are wanted.
-->
<directory>../../../../../../typo3/sysext/*/Classes/</directory>
</include>
</coverage>
<php> <php>
<!-- @deprecated: will be removed with next major version, constant TYPO3_MODE is deprecated --> <!-- @deprecated: will be removed with next major version, constant TYPO3_MODE is deprecated -->
<const name="TYPO3_MODE" value="BE"/> <const name="TYPO3_MODE" value="BE"/>