File tree Expand file tree Collapse file tree 6 files changed +26
-6
lines changed Expand file tree Collapse file tree 6 files changed +26
-6
lines changed Original file line number Diff line number Diff line change @@ -8,3 +8,5 @@ cghooks.lock
88src /Magento /FunctionalTestingFramework /Group /* .php
99.DS_Store
1010build /*
11+ clover.xml
12+ coverage /
Original file line number Diff line number Diff line change 11# Copyright © Magento, Inc. All rights reserved.
22# See COPYING.txt for license details.
33
4+ # REMEMBER TO UPDATE THE .BAT FILE
5+
46set -e
57
68echo "==============================="
79echo " UNIT TESTS"
810echo "==============================="
9- vendor/bin/phpunit --configuration dev/tests/phpunit.xml --testsuite unit
11+ vendor/bin/phpunit --configuration dev/tests/phpunit.xml --testsuite unit --coverage-clover clover.xml
12+
13+ echo "==============================="
14+ echo " UNIT TEST COVERAGE"
15+ echo "==============================="
16+ vendor/bin/coverage-check clover.xml 20
1017
1118echo "==============================="
1219echo " VERIFICATION TESTS"
Original file line number Diff line number Diff line change 11:: Copyright © Magento, Inc. All rights reserved.
22:: See COPYING.txt for license details.
33
4+ :: REMEMBER TO UPDATE THE BASH FILE
5+
46@ echo ===============================UNIT TESTS===============================
57@ echo off
6- call vendor\bin\phpunit --configuration dev\tests\phpunit.xml --testsuite unit --coverage-xml build\coverage-xml
8+ call vendor\bin\phpunit --configuration dev\tests\phpunit.xml --testsuite unit --coverage-clover clover.xml
9+
10+ @ echo ===========================UNIT TEST COVERAGE===========================
11+ @ echo off
12+ call vendor\bin\coverage-check clover.xml 20
713
14+ @ echo ===========================VERIFICATION TESTS===========================
815@ echo off
9- @ echo ===============================VERIFICATION TESTS===============================
10- call vendor\bin\phpunit --configuration dev\tests\phpunit.xml --testsuite verification --coverage-xml build\coverage-xml
16+ call vendor\bin\phpunit --configuration dev\tests\phpunit.xml --testsuite verification
Original file line number Diff line number Diff line change 11# Copyright © Magento, Inc. All rights reserved.
22# See COPYING.txt for license details.
33
4+ ## REMEMBER TO UPDATE THE .BAT FILE
5+
46set -e
57
68echo "==============================="
Original file line number Diff line number Diff line change 11:: Copyright © Magento, Inc. All rights reserved.
22:: See COPYING.txt for license details.
33
4+ :: REMEMBER TO UPDATE THE BASH FILE
5+
46@ echo off
57@ echo ===============================PHP CODE SNIFFER REPORT===============================
68call vendor\bin\phpcs .\src --standard=.\dev\tests\static\Magento
@@ -16,4 +18,4 @@ vendor\bin\phpmd .\src text \dev\tests\static\Magento\CodeMessDetector\ruleset.x
1618@ echo ===============================MAGENTO COPYRIGHT REPORT===============================
1719echo msgbox " INFO:Copyright check currently not run as part of .bat implementation" > " %temp% \popup.vbs"
1820wscript.exe " %temp% \popup.vbs"
19- :: bin\copyright-check
21+ :: bin\copyright-check
Original file line number Diff line number Diff line change 2222 "brainmaestro/composer-git-hooks" : " ^2.3" ,
2323 "codeception/aspect-mock" : " ^2.0" ,
2424 "codacy/coverage" : " ^1.4" ,
25- "phpmd/phpmd" : " ^2.6.0"
25+ "phpmd/phpmd" : " ^2.6.0" ,
26+ "rregeer/phpunit-coverage-check" : " ^0.1.4"
2627 },
2728 "autoload" : {
2829 "psr-4" : {
You can’t perform that action at this time.
0 commit comments