Issue 17: Add debug array to TestResult/TestCase
Status:  Fixed
Owner:
Closed:  Oct 2007
Cc:
Project Member Reported by virtix, Oct 5, 2007
To capture state (debug output) prior assertion failure:

<cfscript>
  <cfset debug(MyStruct) />
  <cfset debug(MyQuery)  />
</cfscript> 
------- 
Then in test results  

<cfdump var="#debugarray#"> 
Oct 19, 2007
Project Member #1 virtix
Added debug array to TestResult.resultItem and is accessible using 
TestResult.getDebug() method. Should return an array of objects for a given test 
method. It's called as specified in the test case ... debug(obj) and is subsequently 
available after the test has run. However, being particularly foggy in the head 
today, it may be difficult to test via TestCase, because the run() executes the 
method first, adding debug info insode the method, and _then_ adds the debug stuff 
to the result object after the test has executed. So, TestCase.result.getDebug() is 
NULL. But, TestCase.debug(), TestCase.getDebug(), works ...
Oct 30, 2007
Project Member #2 virtix
(No comment was entered for this change.)
Status: Fixed