[self-interest] UnitTesting

Jan-Paul Bultmann janpaulbultmann at me.com
Thu Oct 21 18:54:23 UTC 2010

On Oct 21, 2010, at 5:35 PM, Jecel Assumpcao Jr. wrote:

> Jan-Paul Bultmann wrote:
> > Hey,
> > I noticed that Self does not have a unit-testing Framework.
> True.
> > In Smalltalk test driven development is a fundamental part of the
> > system, at least as far as I know.
> It is now a major part of Smalltalk and other language frameworks. The
> rise of agile programming methods is one factor that has made unit
> testing more popular.
> > So were there just more important things to do or is this a design
> > choice?
> > Are unit-tests useless in the self world or is there a better thing
> > I'm just missing :)?
> It is important to remember that the Self project was killed way  
> back in
> 1995. David Ungar continued to improve things on his own and was  
> finally
> able to release his changes in 2000. More improvements were done by
> Dave's team as part of the Kline project until that was killed in  
> 2006.
> As far as I know, Russell Allen is behind most of the changes since
> then.
> A result of this history is that many things in Self are frozen as  
> they
> were back in 1995. If you look at the built in web browser, for  
> example,
> it doesn't even understand tables. I would say that the lack of a unit
> test framework is due to the same thing.
> In Self, a unit testing framework would probably be more elegant  
> than in
> Smalltalk since it is so much easier to create unique objects.
Yeah, I thought of that too.
I'd be pretty easy to use mock objects simply by exchanging some slots.

Greets Jan

> -- Jecel

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.selflanguage.org/pipermail/self-interest/attachments/20101021/a887c975/attachment.html>

More information about the Self-interest mailing list