Skip to content

Commit 3ad95c6

Browse files
authored
Adding PHPUnit
1 parent e4bb26c commit 3ad95c6

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

composer.json

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@
2020
"php-http/discovery": "^1.2"
2121
},
2222
"require-dev": {
23+
"phpunit/phpunit": "^6.0",
2324
"amphp/phpunit-util": "^1",
2425
"php-http/client-integration-tests": "^0.6.0",
2526
"php-http/message": "^1.6"
@@ -28,6 +29,7 @@
2829
"php-http/client-implementation": "1.0"
2930
},
3031
"scripts": {
31-
"test": "vendor/bin/phpunit"
32+
"test": "vendor/bin/phpunit",
33+
"test-ci": "vendor/bin/phpunit --coverage-text --coverage-clover=build/coverage.xml"
3234
}
3335
}

0 commit comments

Comments
 (0)