浏览代码

newer phpunit.xml

Bradford Condon 6 年之前
父节点
当前提交
0b04abafe6
共有 1 个文件被更改,包括 5 次插入1 次删除
  1. 5 1
      phpunit.xml

+ 5 - 1
phpunit.xml

@@ -1,11 +1,15 @@
+<?xml version="1.0" encoding="UTF-8"?>
 <phpunit xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
          xsi:noNamespaceSchemaLocation="phpunit.xsd"
+         convertErrorsToExceptions="true"
+         convertNoticesToExceptions="true"
+         convertWarningsToExceptions="true"
          bootstrap="tests/bootstrap.php"
          verbose="true"
          colors="true">
     <testsuites>
         <testsuite name="default">
-            <directory suffix=".test">./tests/</directory>
+            <directory suffix="Test.php">tests</directory>
         </testsuite>
     </testsuites>
 </phpunit>