diff options
author | Bharat Mediratta <bharat@menalto.com> | 2008-11-01 07:55:48 +0000 |
---|---|---|
committer | Bharat Mediratta <bharat@menalto.com> | 2008-11-01 07:55:48 +0000 |
commit | f8b4c669063b49acd658b1d85194632b57350e68 (patch) | |
tree | 5fe90ad082bea167d8fefb9a0ce4b05363063cea /modules/unit_test/config | |
parent | 146f34dc07c7c47505d8a6e4bdf9e535fcddfbb5 (diff) |
Set up unit test framework. Tweak configuration so that it only runs in
command line mode, and expects to put data into test/var. Create a module
to wrap it that generates a nice text-only view of the output.
Diffstat (limited to 'modules/unit_test/config')
-rw-r--r-- | modules/unit_test/config/unit_test.php | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/modules/unit_test/config/unit_test.php b/modules/unit_test/config/unit_test.php new file mode 100644 index 00000000..9da7711b --- /dev/null +++ b/modules/unit_test/config/unit_test.php @@ -0,0 +1,15 @@ +<?php defined('SYSPATH') or die('No direct script access.'); +/** + * @package Unit_Test + * + * Default paths to scan for tests. + */ +$config['paths'] = array +( + MODPATH.'unit_test/tests', +); + +/** + * Set to TRUE if you want to hide passed tests from the report. + */ +$config['hide_passed'] = FALSE; |