Permalink
Browse files

Added bootstrap.php file for phpunit

  • Loading branch information...
1 parent 58c4861 commit 64a5f40ef4234848956c9215ee3385a2a5558e7a @willdurand willdurand committed Apr 6, 2012
Showing with 8 additions and 0 deletions.
  1. +1 −0 phpunit.xml.dist
  2. +7 −0 test/bootstrap.php
View
@@ -9,6 +9,7 @@
processIsolation="false"
stopOnFailure="false"
syntaxCheck="false"
+ bootstrap="test/bootstrap.php"
>
<testsuites>
View
@@ -0,0 +1,7 @@
+<?php
+
+if (file_exists($file = dirname(__FILE__) . '/../vendor/.composer/autoload.php')) {
+ set_include_path(get_include_path() . PATH_SEPARATOR . dirname(__FILE__) . '/../vendor/pear-phing');
+
+ require_once $file;
+}

0 comments on commit 64a5f40

Please sign in to comment.