diff options
| -rw-r--r-- | phpunit.xml | 8 | ||||
| -rw-r--r-- | tests/bootstrap.php | 4 |
2 files changed, 12 insertions, 0 deletions
diff --git a/phpunit.xml b/phpunit.xml new file mode 100644 index 0000000..526ab54 --- /dev/null +++ b/phpunit.xml @@ -0,0 +1,8 @@ +<?xml version="1.0" encoding="utf-8"?> +<phpunit bootstrap="tests/bootstrap.php"> + <testsuites> + <testsuite name="unit"> + <directory>tests</directory> + </testsuite> + </testsuites> +</phpunit> diff --git a/tests/bootstrap.php b/tests/bootstrap.php new file mode 100644 index 0000000..7bc89e6 --- /dev/null +++ b/tests/bootstrap.php @@ -0,0 +1,4 @@ +<?php +require_once __DIR__ . '/../src/init.php'; +?> + |
