]> git.openstreetmap.org Git - nominatim.git/blobdiff - test/php/phpunit.xml
bdd: factor out computation of result to-check lists
[nominatim.git] / test / php / phpunit.xml
index 1fc95795c1d0b86b3704488e10956f493f0b1d26..e46d529408f7a4afe52dc458ad08c5599c19d43c 100644 (file)
@@ -1,27 +1,26 @@
 <?xml version="1.0" encoding="UTF-8"?>
 <?xml version="1.0" encoding="UTF-8"?>
-<phpunit backupGlobals="false"
-    backupStaticAttributes="false"
-    colors="true"
-    convertErrorsToExceptions="true"
-    convertNoticesToExceptions="true"
-    convertWarningsToExceptions="true"
-    processIsolation="false"
-    stopOnFailure="false"
-    syntaxCheck="true"
-    bootstrap="./bootstrap.php"
-    beStrictAboutTestsThatDoNotTestAnything="true"
-    >
-    <php>
+<phpunit xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+  backupGlobals="false"
+  backupStaticAttributes="false"
+  colors="true"
+  convertErrorsToExceptions="true"
+  convertNoticesToExceptions="true"
+  convertWarningsToExceptions="true"
+  processIsolation="false"
+  stopOnFailure="false"
+  bootstrap="./bootstrap.php"
+  beStrictAboutTestsThatDoNotTestAnything="true"
+  xsi:noNamespaceSchemaLocation="https://schema.phpunit.de/9.3/phpunit.xsd">
+  <coverage>
+    <include>
+      <directory>../../lib-php/</directory>
+    </include>
+  </coverage>
+  <php>
     </php>
     </php>
-    <testsuites>
-        <testsuite name="Nominatim PHP Test Suite">
-            <directory>./Nominatim</directory>
-        </testsuite>
-    </testsuites>
-    <filter>
-        <whitelist>
-            <directory>./lib/</directory>
-        </whitelist>
-    </filter>
-
+  <testsuites>
+    <testsuite name="Nominatim PHP Test Suite">
+      <directory>./Nominatim</directory>
+    </testsuite>
+  </testsuites>
 </phpunit>
 </phpunit>