PageRenderTime 86ms CodeModel.GetById 28ms RepoModel.GetById 1ms app.codeStats 0ms

/vendor/agavi/testing.php

https://github.com/digitarald/redracer
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
  1. <?php
  2. // +---------------------------------------------------------------------------+
  3. // | This file is part of the Agavi package. |
  4. // | Copyright (c) 2005-2008 the Agavi Project. |
  5. // | |
  6. // | For the full copyright and license information, please view the LICENSE |
  7. // | file that was distributed with this source code. You can also view the |
  8. // | LICENSE file online at http://www.agavi.org/LICENSE.txt |
  9. // | vi: set noexpandtab: |
  10. // | Local Variables: |
  11. // | indent-tabs-mode: t |
  12. // | End: |
  13. // +---------------------------------------------------------------------------+
  14. /**
  15. * bootstrap file for the AgaviTesting
  16. *
  17. * @package agavi
  18. * @subpackage testing
  19. *
  20. * @author Felix Gilcher <felix.gilcher@bitextender.com>
  21. * @copyright The Agavi Project
  22. *
  23. * @since 1.0.0
  24. *
  25. * @version $Id$
  26. */
  27. $here = realpath(dirname(__FILE__));
  28. // load Agavi basics
  29. require_once($here . '/agavi.php');
  30. // AgaviTesting class
  31. require_once($here . '/testing/AgaviTesting.class.php');
  32. // add our bundled PHPUnit to include path (until a new release is out :D)
  33. set_include_path($here . '/vendor' . PATH_SEPARATOR . get_include_path());
  34. // load PHPUnit basics
  35. require_once 'PHPUnit/Util/Getopt.php';
  36. require_once('PHPUnit/TextUI/TestRunner.php');
  37. ?>