diff options
Diffstat (limited to 'tests/unit/phpunit2.php')
-rw-r--r-- | tests/unit/phpunit2.php | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/tests/unit/phpunit2.php b/tests/unit/phpunit2.php new file mode 100644 index 00000000..81e85057 --- /dev/null +++ b/tests/unit/phpunit2.php @@ -0,0 +1,9 @@ +<?php +/** + * A few common settings for all unit tests. + */ +define('PRADO_FRAMEWORK_DIR', dirname(__FILE__).'/../../framework'); +set_include_path(PRADO_FRAMEWORK_DIR.':'.get_include_path()); +require_once PRADO_FRAMEWORK_DIR.'/prado.php'; +require_once 'PHPUnit2/Framework/TestCase.php'; +?>
\ No newline at end of file |