Added:
/trunk/etc/phingBootstrap-ab.php
/trunk/phing.xml
=======================================
--- /dev/null
+++ /trunk/etc/phingBootstrap-ab.php Sat Feb 20 07:14:42 2010
@@ -0,0 +1,16 @@
+<?php
+/*
+ * Set up required environment for the Phing build file.
+ */
+define('MORIARTY_DIR',dirname(dirname(__FILE__)). DIRECTORY_SEPARATOR);
+define('MORIARTY_ARC_DIR',"/Users/andrew/Development/arc/");
+
+require_once MORIARTY_DIR . '/tests/fakehttprequest.class.php';
+require_once MORIARTY_DIR . '/tests/fakerequestfactory.class.php';
+
+ini_set('include_path',
+ ini_get('include_path')
+ .PATH_SEPARATOR.MORIARTY_DIR
+ .PATH_SEPARATOR.MORIARTY_ARC_DIR
+);
+?>
=======================================
--- /dev/null
+++ /trunk/phing.xml Sat Feb 20 07:14:42 2010
@@ -0,0 +1,16 @@
+<?xml version="1.0"?>
+
+<project name="Moriarty" basedir="." default="test">
+ <target name="test">
+ <phpunit bootstrap="etc/phingBootstrap-ab.php">
+ <formatter type="plain" usefile="false" />
+ <batchtest>
+ <fileset dir="tests">
+ <include name="*.test.php" />
+ <!-- Seems to be a problem with this test below... -->
+ <exclude name="graphpath.test.php" />
+ </fileset>
+ </batchtest>
+ </phpunit>
+ </target>
+</project>