Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 21 Oct 2002 19:22:23 -0400 (EDT)
From:      "R. David Murray" <bitz@bitdance.com>
To:        Matthew Whelan <muttley@gotadsl.co.uk>
Cc:        FreeBSD-Stable <stable@FreeBSD.ORG>
Subject:   Re: freebsd test matrix
Message-ID:  <20021021191920.U21141-100000@twirl.bitdance.com>
In-Reply-To: <20021021235512.C6F1.MUTTLEY@gotadsl.co.uk>

next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, 22 Oct 2002, Matthew Whelan wrote:
> I couldn't agree more. Testing discovers bugs at a faster rate than
> debugging, at least until the test becomes 'too big'. As a result, it
> actually *SAVES* developer time. If this weren't the case, noone would
> do it outside of safety-critical systems. The clever bit is knowing when
> to stop (ie. how big is too big). Starting should be a no-brainer.

The solution to the too big problem is to make many smaller tests,
and to have a test harness that allows you to run them selectively.

In XP, you write the tests *first*, and then write the code to make
the tests pass.  This also saves developer time, in my experience (not
that I always do it that way, mind <grin>).

--RDM


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-stable" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20021021191920.U21141-100000>