Closed (fixed)
Project:
Drupal core
Version:
7.x-dev
Component:
simpletest.module
Priority:
Normal
Category:
Task
Assigned:
Reporter:
Created:
23 Jun 2009 at 22:19 UTC
Updated:
21 Jul 2009 at 08:10 UTC
Jump to comment: Most recent file
SimpleTest has two variables which can be quite handy, but both of which are not visible in any way other then by reading the code.
This patch creates a settings page for the two variables and is in preparation for the verbose mode setting to be provided by #500280: Provide a verbose mode for SimpleTest.
| Comment | File | Size | Author |
|---|---|---|---|
| #12 | 500292-simpletest-settings.patch | 4.17 KB | boombatower |
| #10 | 500292-simpletest-settings.patch | 4.25 KB | boombatower |
| #1 | 500292-simpletest-settings.patch | 2.45 KB | boombatower |
Comments
Comment #1
boombatower commentedComment #3
boombatower commentedTest slave crapped.
Comment #4
moshe weitzman commentedVery handy.
Comment #6
moshe weitzman commentedComment #7
dries commented- If we're going to accept auth information we should have a username and password field IMO.
- The form descriptions are not really helpful. They don't tell me why authentication is useful, or when it should be configured. They don't tell me why I might want to clean after each test run. I think we need to make those settings more accessible for non SimpleTest experts -- or keep them hidden.
- Shouldn't this live under Site configuration?
Comment #8
boombatower commentedI purely matched SimpleTest variable that is a single field for username/password, I'll split it up on form.
Will add descriptions.
I wasn't sure about it living under site configuration. SimpleTest is a development tool and doesn't effect the overall site so it seemed odd to place it in site configuration. Most development tools have their own special settings and such and this seemed like a clean pattern to keep them out of site configuration.
Since I am starting something new I definitely want opinions...
I'll try and get new patch shortly.
Comment #9
boombatower commentedThis should do the trick.
Please let the hook_uninstall() variable removal be cleaned up in separate issue: #500270: SimpleTest hook_uninstall() does not delete the correct variables
Comment #10
boombatower commentedComment #11
dries commented- Can you put the help text on one line for consistency?
- Where can people fine the [result_id]? The documentation is not telling me that.
- Can we reduce 'simpletest_httpauth_credentials_username' to 'simpletest_username'? Ditto for password.
Otherwise looks good.
Comment #12
boombatower commentedSummary of what this patch does:
simpletest_httpauth_credentialsintosimpletest_usernameandsimpletest_password.simpletest_clear_resultsvariable.Comment #14
boombatower commentedComment #15
dries commentedOK, the latest changes look good. The location of the settings page is OK for now, but could be revisited as part of the new IA. Committed to CVS HEAD.