[Top][All Lists]

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

Re: cunit [Was: Re: mailutils]

From: Sam Roberts
Subject: Re: cunit [Was: Re: mailutils]
Date: Thu, 21 Mar 2002 18:31:10 -0500
User-agent: Mutt/1.3.16i

Quoteing address@hidden, on Wed, Mar 20, 2002 at 08:29:00PM -0800:
> On Sat, Mar 16, 2002 at 10:23:35AM -0500, Sam Roberts wrote:
> > I'd like to see tests, and would really like there to be a test
> > framework. Having one makes it easier and faster to write code. The
> > *unit test stuff (based on a 5 minute look at the cppunit docs :-))
> > are fancy asserts. Maybe nice, but certainly not necessary.
> I jhaven't looked at the cunit stuff.  junit and cppunit are nice
> because they extend the object for adding a testing apparatice on to
> them.  That way it's quite easy to test what's going into and coming
> out of a specific object.

Ah, that sounds more useful. cunit just takes pointers to your
test function in a register call, and then calls the functions.


> That make test-first programming a possibility.  I haven't gotten
> there with my coding, but two of my friends have and I'm trying to
> acquire the ability.
> -- 
> Some people play the lottery, some people use Ebay. Personally, I've
> had much better luck with Ebay than the lottery
>  - hendridm
> _______________________________________________
> Bug-mailutils mailing list
> address@hidden
> http://mail.gnu.org/mailman/listinfo/bug-mailutils

Sam Roberts <address@hidden> (Vivez sans temps mort!)

reply via email to

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