aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/php/phpunit.xml
diff options
context:
space:
mode:
Diffstat (limited to 'src/php/phpunit.xml')
-rw-r--r--src/php/phpunit.xml22
1 files changed, 22 insertions, 0 deletions
diff --git a/src/php/phpunit.xml b/src/php/phpunit.xml
new file mode 100644
index 0000000000..52ea6e8f0e
--- /dev/null
+++ b/src/php/phpunit.xml
@@ -0,0 +1,22 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<phpunit bootstrap="tests/bootstrap.php" colors="true">
+ <testsuites>
+ <testsuite name="grpc-unit-tests">
+ <directory suffix="Test.php">tests/unit_tests</directory>
+ </testsuite>
+ <testsuite name="grpc-genereated-code-tests">
+ <file>tests/generated_code/GeneratedCodeTest.php</file>
+ <file>tests/generated_code/GeneratedCodeWithCallbackTest.php</file>
+ </testsuite>
+ </testsuites>
+ <filter>
+ <whitelist>
+ <directory suffix=".php">lib/Grpc</directory>
+ </whitelist>
+ </filter>
+ <logging>
+ <log type="coverage-html" target="./log/codeCoverage" charset="UTF-8"
+ yui="true" highlight="true"
+ lowUpperBound="75" highLowerBound="95"/>
+ </logging>
+</phpunit>