diff options
author | Benjamin Eberlei <kontakt@beberlei.de> | 2012-05-21 11:45:28 +0200 |
---|---|---|
committer | Benjamin Eberlei <kontakt@beberlei.de> | 2012-05-21 11:45:28 +0200 |
commit | 93ddf1d29ff26fc7964ae6a2e977930beb66078d (patch) | |
tree | af352eff9aa654bbd77088b9cd5abc11eda72b6d /tests/bootstrap.php | |
parent | 5db07931d3a87eeafeca697f0ec32271efc2a2ed (diff) | |
download | zetacomponents-graph-93ddf1d29ff26fc7964ae6a2e977930beb66078d.zip zetacomponents-graph-93ddf1d29ff26fc7964ae6a2e977930beb66078d.tar.gz |
Prepare test dependencies.
Diffstat (limited to 'tests/bootstrap.php')
-rw-r--r-- | tests/bootstrap.php | 14 |
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 + ); +} |