Index: modules/simpletest/simpletest.module
===================================================================
RCS file: /cvs/drupal/drupal/modules/simpletest/simpletest.module,v
retrieving revision 1.55
diff -u -r1.55 simpletest.module
--- modules/simpletest/simpletest.module	13 Jun 2009 11:29:25 -0000	1.55
+++ modules/simpletest/simpletest.module	23 Jun 2009 22:19:37 -0000
@@ -32,6 +32,17 @@
     'description' => 'Run tests against Drupal core and your active modules. These tests help assure that your site code is working as designed.',
     'access arguments' => array('administer unit tests'),
   );
+  $items['admin/development/testing/list'] = array(
+    'title' => 'List',
+    'type' => MENU_DEFAULT_LOCAL_TASK,
+  );
+  $items['admin/development/testing/settings'] = array(
+    'title' => 'Settings',
+    'page callback' => 'drupal_get_form',
+    'page arguments' => array('simpletest_settings_form'),
+    'access arguments' => array('administer unit tests'),
+    'type' => MENU_LOCAL_TASK,
+  );
   $items['admin/development/testing/results/%'] = array(
     'title' => 'Test result',
     'page callback' => 'drupal_get_form',
Index: modules/simpletest/simpletest.pages.inc
===================================================================
RCS file: /cvs/drupal/drupal/modules/simpletest/simpletest.pages.inc,v
retrieving revision 1.5
diff -u -r1.5 simpletest.pages.inc
--- modules/simpletest/simpletest.pages.inc	20 Jun 2009 06:09:56 -0000	1.5
+++ modules/simpletest/simpletest.pages.inc	23 Jun 2009 22:19:37 -0000
@@ -404,3 +404,29 @@
   }
   return FALSE;
 }
+
+/**
+ * Provides settings form for SimpleTest variables.
+ */
+function simpletest_settings_form(&$form_state) {
+  $form = array();
+
+  $form['general'] = array(
+    '#type' => 'fieldset',
+    '#title' => t('General'),
+  );
+  $form['general']['simpletest_httpauth_credentials'] = array(
+    '#type' => 'textfield',
+    '#title' => t('HTTP auth credentials'),
+    '#description' => t('HTTP auth settings to be used by the SimpleTest browser, in the format <em>[username]:[password]</em>.'),
+    '#default_value' => variable_get('simpletest_httpauth_credentials', ''),
+  );
+  $form['general']['simpletest_clear_results'] = array(
+    '#type' => 'checkbox',
+    '#title' => t('Clear results'),
+    '#description' => t('Clear the test results after each complete test suite run.'),
+    '#default_value' => variable_get('simpletest_clear_results', TRUE),
+  );
+
+  return system_settings_form($form);
+}
