Add unit testing infrastructure, again straignt from phalanx
[hoplite.git] / testing / phpunit.xml
1 <!--
2 Hoplite
3 Copyright (c) 2011 Blue Static
4
5 This program is free software: you can redistribute it and/or modify it
6 under the terms of the GNU General Public License as published by the Free
7 Software Foundation, either version 3 of the License, or any later version.
8
9 This program is distributed in the hope that it will be useful, but WITHOUT
10 ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
11 FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
12 more details.
13
14 You should have received a copy of the GNU General Public License along with
15 this program. If not, see <http://www.gnu.org/licenses/>.
16 -->
17
18 <!-- Tested with PHPUnit 3.5.5 -->
19 <phpunit backupGlobals="FALSE"
20 backupStaticAttributes="FALSE"
21 colors="TRUE">
22
23 <testsuites>
24 <testsuite name="Hoplite Unit Tests">
25 <directory suffix="_test.php">./tests/</directory>
26 </testsuite>
27 </testsuites>
28
29 <filter>
30 <blacklist>
31 <directory>./</directory> <!-- Don't get coverage for test files. -->
32 </blacklist>
33 </filter>
34
35 <logging>
36 <log type="coverage-html" target="./unittest_coverage" yui="TRUE" highlight="TRUE"/>
37 </logging>
38 </phpunit>