From owner-freebsd-stable Tue Oct 22 4:32:29 2002 Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id D596937B401 for ; Tue, 22 Oct 2002 04:32:27 -0700 (PDT) Received: from twirl.bitdance.com (twirl.bitdance.com [208.210.83.50]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4935E43E3B for ; Tue, 22 Oct 2002 04:32:27 -0700 (PDT) (envelope-from bitz@twirl.bitdance.com) Received: from twirl.bitdance.com (localhost [127.0.0.1]) by twirl.bitdance.com (8.12.3/8.12.3) with ESMTP id g9MBWKIN084031; Tue, 22 Oct 2002 07:32:21 -0400 (EDT) (envelope-from bitz@twirl.bitdance.com) Received: from localhost (bitz@localhost) by twirl.bitdance.com (8.12.6/8.12.6/Submit) with ESMTP id g9MBWJqR084028; Tue, 22 Oct 2002 07:32:20 -0400 (EDT) Date: Tue, 22 Oct 2002 07:32:19 -0400 (EDT) From: "R. David Murray" To: Matthew Whelan Cc: FreeBSD-Stable Subject: Re: freebsd test matrix In-Reply-To: <20021022012432.3866.MUTTLEY@gotadsl.co.uk> Message-ID: <20021022072923.N83973-100000@twirl.bitdance.com> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Tue, 22 Oct 2002, Matthew Whelan wrote: > Not quite what I meant... there always comes a point when testing where > the rate at which you find bugs drops below the cost/benefit threshold > of removing them. It's no good delivering a bug-free product 3 years > after its usefulness has expired. It's also no good delivering that > piece of perfection for triple the price anyone's willing to pay. Ah, I see. I was coming at it from the "write the tests first" viewpoint. In that situation, you have your test suite to validate changes against, and when anyone finds new bugs, you add a test that covers it so you won't recreate after some later change. So no, I wasn't advocating spending infinate amounts of time looking for bugs. Release early, release often . > > 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 ). > > This is a good way of disguising the fact that most people don't do > enough detailed design - you effectively encode the design in your test > suite instead. Bingo. And then you *have* the test suite... --RDM To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message