Upgraded to KH 3.3.0

This commit is contained in:
Deon George
2012-11-09 23:18:50 +11:00
parent 863bc1150a
commit ea36639638
1293 changed files with 96042 additions and 9545 deletions

View File

@@ -2,26 +2,11 @@
return array(
// The only environment in which the web runner is allowed to run
// You can run tests from phpunit cli command regardless of this setting
// This can also be set to an array for multiple environments
'environment' => Kohana::DEVELOPMENT,
// This is the folder where we generate and zip all the reports for downloading
// Needs to be readable and writable
'temp_path' => Kohana::$cache_dir.'/unittest',
// Path from DOCROOT (i.e. http://yourdomain/) to the folder where HTML cc reports can be published.
// If you'd prefer not to allow users to do this then simply set the value to FALSE.
// Example value of 'cc_report_path' would allow devs to see report at http://yourdomain/report/
'cc_report_path' => 'report',
// If you don't use a whitelist then only files included during the request will be counted
// If you do, then only whitelisted items will be counted
'use_whitelist' => TRUE,
// Items to whitelist, only used in cli
// Web runner ui allows user to choose which items to whitelist
'whitelist' => array(
// Should the app be whitelisted?
@@ -46,8 +31,4 @@ return array(
// List of individual files/folders to blacklist
'blacklist' => array(
),
// A database connection that can be used when testing
// This doesn't overwrite anything, tests will have to use this value manually
'db_connection' => 'unittest',
);

View File

@@ -1,23 +1,13 @@
<?php defined('SYSPATH') or die('No direct script access.');
<?php defined('SYSPATH') OR die('No direct script access.');
return array(
// Leave this alone
return array
(
'modules' => array(
// This should be the path to this modules userguide pages, without the 'guide/'. Ex: '/guide/modulename/' would be 'modulename'
'unittest' => array(
// Whether this modules userguide pages should be shown
'enabled' => TRUE,
// The name that should show up on the userguide index page
'name' => 'Unittest',
// A short description of this module, shown on the index page
'description' => 'Kohana unit testing.',
// Copyright message, shown in the footer for this module
'copyright' => '&copy; 20082010 Kohana Team',
)
'description' => 'Unit testing module',
'copyright' => '&copy; 2009-2011 Kohana Team',
)
)
);