On Jul 22, 2010, at 11:11 PM, laurent laffont wrote:
> Hi,
>
> From a discussion I had with Kent Beck about Continuous Testing / Autotest (see
http://pharocasts.blogspot.com/2010/07/live-testing-with-autotest.html ), I would like to add a kind of Time Machine for Smalltalk code in Autotest.
>
> When a test fails, what I really want to know is why. Sometimes a test fails and I don't know why. So I have to go through a debugging session which distracts me from what I've been coding.
>
> So an idea is to diff backtrace before and after the test fails:
> - revert to last green
> - replay the test and save the trace
> - forward to current test and run (test fails)
> - compare execution paths in order to see the consequence of last change
>
> How would you do this ? Where should I look for materials which can help me coding this ?
>
> Cheers,
>
> Laurent Laffont
>
>
http://pharocasts.blogspot.com/
>
http://magaloma.blogspot.com/