Skip to content

Commit

Permalink
phpunit 测试报告放在 build 目录下,并忽略 build 目录
Browse files Browse the repository at this point in the history
  • Loading branch information
ueaner committed Mar 1, 2018
1 parent 7724efd commit ee45bb7
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 3 deletions.
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
!.gitkeep
vendor/*
composer.lock
.scannerwork/*
build/*
sonar-project.properties
7 changes: 4 additions & 3 deletions phpunit.xml
Original file line number Diff line number Diff line change
Expand Up @@ -30,8 +30,9 @@
</filter>

<logging>
<log type="coverage-clover" target="/tmp/phpunit.coverage.xml"/>
<log type="junit" target="/tmp/phpunit.logfile.xml" logIncompleteSkipped="false"/>
<log type="coverage-html" target="/tmp/phpunit.report" lowUpperBound="35" highLowerBound="70"/>
<log type="coverage-html" target="build/coverage" lowUpperBound="35" highLowerBound="70"/>
<log type="coverage-clover" target="build/logs/clover.xml"/>
<log type="coverage-crap4j" target="build/logs/crap4j.xml"/>
<log type="junit" target="build/logs/junit.xml" logIncompleteSkipped="false"/>
</logging>
</phpunit>

0 comments on commit ee45bb7

Please sign in to comment.