Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Add test configuration

  • Loading branch information...
commit 20962b0104a32ed7a089b6e42da7815f432c88b3 1 parent bc4e75a
@henrikbjorn authored
Showing with 12 additions and 2 deletions.
  1. +2 −2 phpunit.xml.dist
  2. +10 −0 tests/bootstrap.php
View
4 phpunit.xml.dist
@@ -15,13 +15,13 @@
<testsuites>
<testsuite name="Stampie Test Suite">
- <directory>../tests/Stampie/Tests</directory>
+ <directory>./tests/Stampie/Tests</directory>
</testsuite>
</testsuites>
<filter>
<whitelist>
- <directory>../lib</directory>
+ <directory>./lib</directory>
</whitelist>
</filter>
View
10 tests/bootstrap.php
@@ -0,0 +1,10 @@
+<?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
+EOT
+ );
+}
Please sign in to comment.
Something went wrong with that request. Please try again.