Viewing Failures in sUnit's TestRunner
Ned Konz
ned at bike-nomad.com
Sat May 3 18:48:59 UTC 2003
On Friday 02 May 2003 03:23 pm, Bryce Kampjes wrote:
> It's good practice in Smalltalk to write code inside the
> debugger. Often I'll write a test, it fails, knowing that I'm going
> to extend an existing method, I add a "self halt." to the start of
> it. Rerunning the test, it stops at the halt in a debugger. Then I
> add the new code inside the debugger. This way I can inspect the
> current state and check it's what I think it should be. It also
> checks that the method was really used by that test.
There is a package on SqueakMap that lets you set breakpoints on entry
without changing the source.
It's called "Breakpoint support".
--
Ned Konz
http://bike-nomad.com
GPG key ID: BEEA7EFE
More information about the Squeak-dev
mailing list
|