diff --git a/phpunit.xml b/phpunit.xml
new file mode 100644
index 0000000000000000000000000000000000000000..553e80bfe0778cf5b16f1231ec3bae8f125298d2
--- /dev/null
+++ b/phpunit.xml
@@ -0,0 +1,6 @@
+<?xml version="1.0" encoding="utf-8"?>
+<phpunit bootstrap="tests/bootstrap.php" strict="true">
+  <testsuite name="Unit tests">
+    <directory suffix="Test.php">tests/unit-tests</directory>
+  </testsuite>
+</phpunit>
diff --git a/tests/bootstrap.php b/tests/bootstrap.php
new file mode 100644
index 0000000000000000000000000000000000000000..3e7ffff419e946f0df744390b6ea64f6107d0bd4
--- /dev/null
+++ b/tests/bootstrap.php
@@ -0,0 +1,7 @@
+<?php
+
+if ($autoload = stream_resolve_include_path('vendor/autoload.php')) {
+    require($autoload);
+}
+
+define('APP_TESTDIR', __DIR__);
\ No newline at end of file