Closed (fixed)
Project:
SimpleTest
Version:
6.x-2.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Reporter:
Created:
13 Oct 2009 at 16:12 UTC
Updated:
20 Nov 2009 at 21:50 UTC
Jump to comment: Most recent file
I want to add debugging or verbose messages that are executed when my tests call drupalGet or drupalPost(). This currently seems impossible because when debug() is called from the executing code, it gets shown as a message 'in' the browser and never makes it to SimpleTest collector.
| Comment | File | Size | Author |
|---|---|---|---|
| #3 | 603410-error-handler.patch | 2.57 KB | boombatower |
Comments
Comment #1
dave reidI can't even use simpletest_verbose() either. :/ Using DWTC->verbose() is out of the question because again, we're wanting to add this debugging info from normal code when tests are run, not inside the actual tests where ->verbose() is available.
Help me boombatower! You're my only hope!
Comment #2
boombatower commentedHmm...not sure if I forgot to include the following lines in patch or what, because I know I had this working.
Eithere way just adding:
to common.inc _drupal_bootstrap_full() makes it happen.
I'll re-roll patch and make a patch of the patch :)
Comment #3
boombatower commentedComment #4
boombatower commentedCommitted.