From f8b4c669063b49acd658b1d85194632b57350e68 Mon Sep 17 00:00:00 2001 From: Bharat Mediratta Date: Sat, 1 Nov 2008 07:55:48 +0000 Subject: 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. --- core/config/config.php | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'core/config') diff --git a/core/config/config.php b/core/config/config.php index bd0d781b..94f22364 100644 --- a/core/config/config.php +++ b/core/config/config.php @@ -67,7 +67,7 @@ $config['log_threshold'] = 4; /** * Message logging directory. */ -$config['log_directory'] = VARPATH.'logs'; +$config['log_directory'] = VARPATH . 'logs'; /** * Enable or disable displaying of Kohana error pages. This will not affect @@ -96,4 +96,6 @@ $config['extension_prefix'] = 'MY_'; */ $config['modules'] = array ( + MODPATH . 'gallery_unit_test', + MODPATH . 'unit_test', ); -- cgit v1.2.3