Revision 23591,
1.4 KB
checked in by kimoto, 10 years ago
(diff) |
#150 ユニットテスト環境の整備
phpunit.xml.distは環境に依存しないので1ファイルに統一
|
Line | |
---|
1 | <?xml version="1.0" encoding="UTF-8"?> |
---|
2 | |
---|
3 | <phpunit xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" |
---|
4 | xsi:noNamespaceSchemaLocation="http://schema.phpunit.de/4.1/phpunit.xsd" |
---|
5 | colors="true" |
---|
6 | bootstrap="./data/config/config.php" |
---|
7 | > |
---|
8 | |
---|
9 | <!-- テストの場所 --> |
---|
10 | <testsuites> |
---|
11 | <testsuite name="EC-CUBE Test Suite"> |
---|
12 | <directory>./tests</directory> |
---|
13 | </testsuite> |
---|
14 | </testsuites> |
---|
15 | |
---|
16 | <!-- 出力するログファイル --> |
---|
17 | <logging> |
---|
18 | <log type="coverage-html" target="./reports/coverage" charset="UTF-8" |
---|
19 | highlight="false" lowUpperBound="35" highLowerBound="70"/> |
---|
20 | <log type="coverage-clover" target="./reports/coverage/coverage.xml"/> |
---|
21 | <log type="tap" target="./reports/tap.log"/> |
---|
22 | <log type="junit" target="./reports/unitreport.xml" logIncompleteSkipped="false"/> |
---|
23 | </logging> |
---|
24 | |
---|
25 | <!-- カバーレージのターゲット --> |
---|
26 | <filter> |
---|
27 | <whitelist processUncoveredFilesFromWhitelist="true"> |
---|
28 | <directory suffix=".php">./data/class/</directory> |
---|
29 | <exclude> |
---|
30 | <directory>./data/class/pages/</directory> |
---|
31 | <directory>./data/class/graph/</directory> |
---|
32 | <directory>./data/class/batch/</directory> |
---|
33 | <directory>./data/class/db/dbfactory/</directory> |
---|
34 | </exclude> |
---|
35 | </whitelist> |
---|
36 | </filter> |
---|
37 | </phpunit> |
---|
Note: See
TracBrowser
for help on using the repository browser.