add simple testing

This commit is contained in:
Martin Schuette 2014-06-29 17:58:24 +00:00
commit 766b9a4d1e
5 changed files with 148 additions and 0 deletions

15
phpunit.xml Normal file
View file

@ -0,0 +1,15 @@
<phpunit
bootstrap="tests/bootstrap.php"
backupGlobals="false"
colors="true"
convertErrorsToExceptions="true"
convertNoticesToExceptions="true"
convertWarningsToExceptions="true"
>
<testsuites>
<testsuite>
<directory prefix="test-" suffix=".php">./tests/</directory>
</testsuite>
</testsuites>
</phpunit>