diff options
| author | Christian Weiske <cweiske@cweiske.de> | 2020-03-05 21:26:36 +0100 |
|---|---|---|
| committer | Christian Weiske <cweiske@cweiske.de> | 2020-03-05 21:26:36 +0100 |
| commit | b5a753ded3d10f731f8aef95281a992e723547b4 (patch) | |
| tree | 74bab8a8f28febf88770b1745651ecdd03f9ab7a | |
| parent | 5a0765445cb88f5727b0df31e64b5bed1c21cc1c (diff) | |
| download | phinde-b5a753ded3d10f731f8aef95281a992e723547b4.tar.gz phinde-b5a753ded3d10f731f8aef95281a992e723547b4.zip | |
Add unit test preparation
| -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'; +?> + |
