help-smalltalk
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Help-smalltalk] Re: GNU vs. Squeak vs. VW


From: Stephen Compall
Subject: [Help-smalltalk] Re: GNU vs. Squeak vs. VW
Date: Fri, 20 Jul 2007 01:47:08 -0500

On Fri, 2007-07-20 at 09:20 +0300, Paolo Bonzini wrote:
> Needless to say, unit tests are fundamental if debugging is a little 
> harder.  Up to a while ago I was lazy and used a "test" method which had 
> to print only "true"s, but now I saw the light and many more GST 
> packages come with SUnit testsuites (more on that next week).

In my reckoning, debugging is hardly a replacement for unit tests, where
unit tests can partially substitute for debugging, so I just write unit
tests anyway.  See Test-Presource.st in
http://nocandysw.com/starchive/NoCandyPresource.star for an example;
packages/stinst/parser/RewriteTests.st was originally written just to
guarantee behavior I rely on in Presource, because rewriting is such a
useful way to write message macros.

-- 
;;; Stephen Compall ** http://scompall.nocandysw.com/blog **
"Peta" is Greek for fifth; a petabyte is 10 to the fifth power, as
well as fifth in line after kilo, mega, giga, and tera.
  -- Lee Gomes, performing every Wednesday in his tech column
     "Portals" on page B1 of The Wall Street Journal

Attachment: signature.asc
Description: This is a digitally signed message part


reply via email to

[Prev in Thread] Current Thread [Next in Thread]