/vendor/agavi/testing.php
PHP | 45 lines | 8 code | 8 blank | 29 comment | 0 complexity | 4c54db17321f4a8307042a6631c65490 MD5 | raw file
Possible License(s): GPL-3.0, LGPL-2.1, GPL-2.0, BSD-3-Clause, Apache-2.0
- <?php
- // +---------------------------------------------------------------------------+
- // | This file is part of the Agavi package. |
- // | Copyright (c) 2005-2008 the Agavi Project. |
- // | |
- // | For the full copyright and license information, please view the LICENSE |
- // | file that was distributed with this source code. You can also view the |
- // | LICENSE file online at http://www.agavi.org/LICENSE.txt |
- // | vi: set noexpandtab: |
- // | Local Variables: |
- // | indent-tabs-mode: t |
- // | End: |
- // +---------------------------------------------------------------------------+
- /**
- * bootstrap file for the AgaviTesting
- *
- * @package agavi
- * @subpackage testing
- *
- * @author Felix Gilcher <felix.gilcher@bitextender.com>
- * @copyright The Agavi Project
- *
- * @since 1.0.0
- *
- * @version $Id$
- */
- $here = realpath(dirname(__FILE__));
- // load Agavi basics
- require_once($here . '/agavi.php');
- // AgaviTesting class
- require_once($here . '/testing/AgaviTesting.class.php');
- // add our bundled PHPUnit to include path (until a new release is out :D)
- set_include_path($here . '/vendor' . PATH_SEPARATOR . get_include_path());
- // load PHPUnit basics
- require_once 'PHPUnit/Util/Getopt.php';
- require_once('PHPUnit/TextUI/TestRunner.php');
- ?>