Commit 165b3253 authored by webchick's avatar webchick
Browse files

#779236 by rfay: Simpletest verbose setting should be set to on by default.

parent 9d692bc2
......@@ -3003,7 +3003,7 @@ function simpletest_verbose($message, $original_file_directory = NULL, $test_cla
if ($original_file_directory) {
$file_directory = $original_file_directory;
$class = $test_class;
$verbose = variable_get('simpletest_verbose', FALSE);
$verbose = variable_get('simpletest_verbose', TRUE);
$directory = $file_directory . '/simpletest/verbose';
$writable = file_prepare_directory($directory, FILE_CREATE_DIRECTORY);
if ($writable && !file_exists($directory . '/.htaccess')) {
......
......@@ -276,7 +276,7 @@ function simpletest_result_form($form, &$form_state, $test_id) {
// Set summary information.
$group_summary['#ok'] = $group_summary['#fail'] + $group_summary['#exception'] == 0;
$form['result']['results'][$group]['#collapsed'] = $group_summary['#ok'] && !$group_summary['#debug'];
$form['result']['results'][$group]['#collapsed'] = $group_summary['#ok'];
// Store test group (class) as for use in filter.
$filter[$group_summary['#ok'] ? 'pass' : 'fail'][] = $group;
......@@ -444,7 +444,7 @@ function simpletest_settings_form($form, &$form_state) {
'#type' => 'checkbox',
'#title' => t('Provide verbose information when running tests'),
'#description' => t('The verbose data will be printed along with the standard assertions and is useful for debugging. The verbose data will be erased between each test suite run. The verbose data output is very detailed and should only be used when debugging.'),
'#default_value' => variable_get('simpletest_verbose', FALSE),
'#default_value' => variable_get('simpletest_verbose', TRUE),
);
$form['httpauth'] = array(
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment