aboutsummaryrefslogtreecommitdiff
path: root/tests/bootstrap.php
diff options
context:
space:
mode:
authorGravatar Alexis Degrugillier <github@ainw.org> 2015-01-17 10:42:24 -0500
committerGravatar Alexis Degrugillier <github@ainw.org> 2015-01-17 10:42:24 -0500
commitb17cdadf15f21dc1e39ec3b270da6ae031072203 (patch)
tree1980a69cad84534f5574859661737d4a31db9344 /tests/bootstrap.php
parent53cdfc660fb7e7067bd73eb78e2721b97cde2740 (diff)
Add the first unit test
Add phpunit configuration to run tests and add the first running test to validate the configuration
Diffstat (limited to 'tests/bootstrap.php')
-rw-r--r--tests/bootstrap.php7
1 files changed, 7 insertions, 0 deletions
diff --git a/tests/bootstrap.php b/tests/bootstrap.php
new file mode 100644
index 000000000..24340b15c
--- /dev/null
+++ b/tests/bootstrap.php
@@ -0,0 +1,7 @@
+<?php
+
+error_reporting(E_ALL);
+ini_set('display_errors', 1);
+
+require('../constants.php');
+require(LIB_PATH . '/lib_rss.php'); //Includes class autoloader \ No newline at end of file