mirror of
https://github.com/marcostoll/FF-Factories.git
synced 2025-01-16 22:28:16 +01:00
[FEATURE] add phpunit code coverage
This commit is contained in:
parent
73602b89a1
commit
3cbcc59827
1
.gitignore
vendored
1
.gitignore
vendored
@ -1,5 +1,6 @@
|
||||
.idea/
|
||||
|
||||
/build
|
||||
/logs
|
||||
/vendor
|
||||
composer.lock
|
2
bin/phpdox.bat
Normal file
2
bin/phpdox.bat
Normal file
@ -0,0 +1,2 @@
|
||||
@ECHO OFF
|
||||
vendor\bin\phpdox -f phpdox.xml
|
3
bin/phpunit-codecoverage.bat
Normal file
3
bin/phpunit-codecoverage.bat
Normal file
@ -0,0 +1,3 @@
|
||||
@ECHO OFF
|
||||
SET PROJECT_HOME=C:\dev\ffe\fastforward\Factories
|
||||
php -dxdebug.coverage_enable=1 %PROJECT_HOME%\vendor\phpunit\phpunit\phpunit --coverage-xml %PROJECT_HOME%\logs\phpunit --configuration %PROJECT_HOME%\tests\testsuite.xml --teamcity
|
@ -103,11 +103,10 @@
|
||||
<!-- <coverage path="" /> -->
|
||||
<!-- @path - the directory where the xml code coverage report can be found -->
|
||||
<!--</source>-->
|
||||
<!--
|
||||
<source type="phpunit">
|
||||
<filter directory="${phpDox.project.source}" />
|
||||
<coverage path="../logs/phpunit" />
|
||||
</source>
|
||||
-->
|
||||
|
||||
</enrich>
|
||||
|
||||
|
@ -5,4 +5,9 @@
|
||||
<directory>./</directory>
|
||||
</testsuite>
|
||||
</testsuites>
|
||||
<filter>
|
||||
<whitelist processUncoveredFilesFromWhitelist="true">
|
||||
<directory suffix=".php">../src/</directory>
|
||||
</whitelist>
|
||||
</filter>
|
||||
</phpunit>
|
Loading…
x
Reference in New Issue
Block a user