-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtesting.php
45 lines (37 loc) · 1.62 KB
/
testing.php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
<?php
// +---------------------------------------------------------------------------+
// | This file is part of the Agavi package. |
// | Copyright (c) 2005-2010 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 <[email protected]>
* @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');
?>