Hello, in the past during one a test case I used to be able to call
the debug method and it would output the data on to the testing web
runner and display the information like so:

function testSomething() {
$result = 'My result';
debug($result);
}

This does not work now. I can't seem to figure out how to display any
data to the browser during tests. I've tried echo, print_r, debug,
echo debug in my test cases and it doesn't display anything.

I'm using cake 2.1. Is there any way to display some output from one
of my test cases during a test?

I have a failing test where I'm seeing if two arrays are equal and I
just want to output the array to see the data and structure but debug
is no longer working.

Thanks.

-- 
Our newest site for the community: CakePHP Video Tutorials 
http://tv.cakephp.org 
Check out the new CakePHP Questions site http://ask.cakephp.org and help others 
with their CakePHP related questions.


To unsubscribe from this group, send email to
[email protected] For more options, visit this group at 
http://groups.google.com/group/cake-php

Reply via email to