|
From: Culley H. <cu...@fa...> - 2004-03-29 00:46:37
|
On Mar 28, 2004, at 4:30 PM, Marcus Baker wrote: > Hi... > > Zbynek Winkler wrote: >> I think "debug_backtrace" gives the needed information. It is >> available from version 4.3.0 up. It returns current stack information >> in an array. Each item also has a line number. In each "assert*" >> function the line number could be found just by looking up the stack. > > I am looking at this problem at last. Do you want the line number of > the actual assert type method in the test case? Basically just a quick > way of finding the failed assertion amongst the test cases? I don't > want to display an entire stack trace as this kind of thing is better > handled by XDebug. > Not my question but yes I think this would be very helpful. I have been simulating this and it would be great not to have to. When you have 30 assertions in one test it can get confusing. culley |