start using PHPUnit and test all this

This commit is contained in:
2019-06-04 21:36:13 +02:00
parent 8f01bf32a2
commit 668bf757a4
8 changed files with 1873 additions and 174 deletions

17
phpunit.xml Normal file
View File

@@ -0,0 +1,17 @@
<phpunit
backupGlobals="false"
backupStaticAttributes="false"
bootstrap="src/bootstrap.php"
colors="true"
convertErrorsToExceptions="true"
convertNoticesToExceptions="true"
convertWarningsToExceptions="true"
processIsolation="false"
stopOnFailure="false">
<testsuites>
<testsuite name="dossier">
<directory>tests</directory>
</testsuite>
</testsuites>
</phpunit>