diff options
author | knut <> | 2006-01-26 21:42:08 +0000 |
---|---|---|
committer | knut <> | 2006-01-26 21:42:08 +0000 |
commit | ddc25b8fee819757f6468383e6c0183610feb949 (patch) | |
tree | 0d26f9f3db27359dc2207239f21bddca6e2ab90e /tests/unit/phpunit2.php | |
parent | 6baade86cc27d460dc780c016a6560deae48d247 (diff) |
Prototype on new test system with Phing and PHPUnit2 to generate both Unit Test reports and corresponding Code Coverage reports
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 |