File tree Expand file tree Collapse file tree 4 files changed +18
-3
lines changed
src/Magento/MagentoCloud/App Expand file tree Collapse file tree 4 files changed +18
-3
lines changed Original file line number Diff line number Diff line change 21
21
"squizlabs/php_codesniffer" : " ^3.0" ,
22
22
"doctrine/instantiator" : " 1.0.5" ,
23
23
"phpmd/phpmd" : " @stable" ,
24
- "php-mock/php-mock-phpunit" : " ^2.0"
24
+ "php-mock/php-mock-phpunit" : " ^2.0" ,
25
+ "phpunit/php-code-coverage" : " ^5.2"
25
26
},
26
27
"bin" : [
27
28
" m2-ece-build" ,
39
40
" phpcs src --standard=tests/static/phpcs-ruleset.xml -p -n" ,
40
41
" phpmd src xml tests/static/phpmd-ruleset.xml" ,
41
42
" phpunit --configuration tests/unit/phpunit.xml.dist"
42
- ]
43
+ ],
44
+ "test-coverage" : " phpunit --configuration tests/unit/phpunit.xml.dist --coverage-html tests/unit/tmp/coverage"
43
45
},
44
- "process-timeout" : 600 ,
45
46
"prefer-stable" : true
46
47
}
Original file line number Diff line number Diff line change 7
7
8
8
use Magento \MagentoCloud \Application ;
9
9
10
+ /**
11
+ * Class Bootstrap.
12
+ *
13
+ * @codeCoverageIgnore
14
+ */
10
15
class Bootstrap
11
16
{
12
17
/**
Original file line number Diff line number Diff line change
1
+ tmp
Original file line number Diff line number Diff line change 12
12
<directory suffix =" Test.php" >../../src/*/*/Test/Unit</directory >
13
13
</testsuite >
14
14
</testsuites >
15
+ <filter >
16
+ <whitelist addUncoveredFilesFromWhitelist =" true" >
17
+ <directory suffix =" .php" >../../src/*/*</directory >
18
+ <exclude >
19
+ <directory >../../src/*/*/Test</directory >
20
+ </exclude >
21
+ </whitelist >
22
+ </filter >
15
23
16
24
<php >
17
25
<ini name =" date.timezone" value =" UTC" />
You can’t perform that action at this time.
0 commit comments