-
Notifications
You must be signed in to change notification settings - Fork 11
/
Copy pathMakefile
29 lines (29 loc) · 1.44 KB
/
Makefile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
run_mock:
cd mock && java -jar wiremock.jar --verbose &
# Wait for Wiremock (localhost:8080) to startup.
curl -s -o /dev/null -w "%{http_code}" localhost:8080/__admin/mappings --retry-connrefused --retry 60 --retry-max-time 60
XDEBUG_MODE=coverage vendor/bin/phpunit --coverage-clover build/logs/clover.xml --testdox --debug -c phpunit.xml.dist
run_tests:
clear
vendor/bin/phpunit --coverage-clover build/logs/clover.xml --testdox --debug -c phpunit.xml.dist
run_testlist:
clear
vendor/bin/phpunit --testdox --debug tests/QrTest.php
vendor/bin/phpunit --testdox --debug tests/PaymentTest.php
vendor/bin/phpunit --testdox --debug tests/RefundTest.php
vendor/bin/phpunit --testdox --debug tests/UserTest.php
vendor/bin/phpunit --testdox --debug tests/WalletTest.php
run_staging:
clear
vendor/bin/phpunit --testdox --debug tests/QrTest.php
vendor/bin/phpunit --testdox --debug tests/PaymentTest.php
vendor/bin/phpunit --testdox --debug tests/UserTest.php
vendor/bin/phpunit --testdox --debug tests/WalletTest.php
run_coverage:
cd mock && java -jar wiremock.jar --verbose &
# Wait for Wiremock (localhost:8080) to startup.
curl -s -o /dev/null -w "%{http_code}" localhost:8080/__admin/mappings --retry-connrefused --retry 60 --retry-max-time 60
vendor/bin/phpunit --coverage-clover build/logs/clover.xml --testdox --debug -c phpunit.xml.dist
vendor/bin/php-coveralls -v
coverall_upload:
vendor/bin/php-coveralls --coverage_clover=build/logs/clover.xml -v