-
-
Notifications
You must be signed in to change notification settings - Fork 231
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Respect configuration options of text coverage (#626)
* Respect configuration options of text coverage * Get coverage bounds for text coverage from html coverage config, if set Co-authored-by: Leo Viezens <[email protected]>
- Loading branch information
Showing
4 changed files
with
86 additions
and
4 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
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,47 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<phpunit | ||
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" | ||
xsi:noNamespaceSchemaLocation="https://schema.phpunit.de/9.4/phpunit.xsd" | ||
colors="true" | ||
> | ||
<testsuites> | ||
<testsuite name="ParaTest Fixtures"> | ||
<file>./passing_tests/GroupsTest.php</file> | ||
</testsuite> | ||
</testsuites> | ||
<!-- | ||
processUncoveredFiles="true" omitted due to | ||
https://github.com/sebastianbergmann/php-code-coverage/issues/801 | ||
--> | ||
<coverage includeUncoveredFiles="true" | ||
ignoreDeprecatedCodeUnits="true" | ||
disableCodeCoverageIgnore="true"> | ||
<include> | ||
<directory suffix=".php">src</directory> | ||
</include> | ||
|
||
<exclude> | ||
<directory suffix=".php">src/generated</directory> | ||
<file>src/autoload.php</file> | ||
</exclude> | ||
|
||
<report> | ||
<clover outputFile="../tmp/clover.xml"/> | ||
<cobertura outputFile="../tmp/cobertura.xml"/> | ||
<crap4j outputFile="../tmp/crap4j.xml" threshold="50"/> | ||
<html outputDirectory="../tmp/html-coverage" lowUpperBound="50" highLowerBound="90"/> | ||
<php outputFile="../tmp/coverage.php"/> | ||
<text outputFile="../tmp/coverage.txt" showUncoveredFiles="false" showOnlySummary="true"/> | ||
<xml outputDirectory="../tmp/xml-coverage"/> | ||
</report> | ||
</coverage> | ||
|
||
<logging> | ||
<junit outputFile="../tmp/junit.xml"/> | ||
<teamcity outputFile="../tmp/teamcity.txt"/> | ||
<testdoxHtml outputFile="../tmp/testdox.html"/> | ||
<testdoxText outputFile="../tmp/testdox.txt"/> | ||
<testdoxXml outputFile="../tmp/testdox.xml"/> | ||
<text outputFile="../tmp/logfile.txt"/> | ||
</logging> | ||
</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