summaryrefslogtreecommitdiffstats
path: root/tests/bootstrap.php
diff options
context:
space:
mode:
authorBenjamin Eberlei <kontakt@beberlei.de>2012-05-21 11:45:28 +0200
committerBenjamin Eberlei <kontakt@beberlei.de>2012-05-21 11:45:28 +0200
commit93ddf1d29ff26fc7964ae6a2e977930beb66078d (patch)
treeaf352eff9aa654bbd77088b9cd5abc11eda72b6d /tests/bootstrap.php
parent5db07931d3a87eeafeca697f0ec32271efc2a2ed (diff)
downloadzetacomponents-graph-93ddf1d29ff26fc7964ae6a2e977930beb66078d.zip
zetacomponents-graph-93ddf1d29ff26fc7964ae6a2e977930beb66078d.tar.gz
Prepare test dependencies.
Diffstat (limited to 'tests/bootstrap.php')
-rw-r--r--tests/bootstrap.php14
1 files changed, 14 insertions, 0 deletions
diff --git a/tests/bootstrap.php b/tests/bootstrap.php
new file mode 100644
index 0000000..fa79cb1
--- /dev/null
+++ b/tests/bootstrap.php
@@ -0,0 +1,14 @@
+<?php
+if ( ! @include __DIR__ . '/../vendor/.composer/autoload.php' )
+{
+ die(<<<'EOT'
+You must set up the project dependencies, run the following commands:
+wget http://getcomposer.org/composer.phar
+php composer.phar install --dev
+
+You can then run tests by calling:
+
+phpunit
+EOT
+ );
+}
OpenPOWER on IntegriCloud