develooper Front page | perl.bootstrap | Postings from July 2000

Re: RFC: A Test For Every Patch

Thread Previous | Thread Next
From:
Piers Cawley
Date:
July 27, 2000 01:42
Subject:
Re: RFC: A Test For Every Patch
Message ID:
m17la8otnh.fsf@rt158.private.realtime.co.uk
Russ Allbery <rra@stanford.edu> writes:

> Bradley M Kuhn <bkuhn@ebb.org> writes:
> 
> > Discussion forked into "should perl define Perl" and discussion of
> > formats.  I would like to comment (on this Request for Comment :) that I
> > agree with Michael strategy.  I think patchers should submit a test case
> > along with any patches that are submitted, within reason of course.  ;)
> 
> I agree for all code changes (at least that are testable; I can think of a
> few types of code changes that aren't particularly testable and probably
> aren't worth testing, but I'm sure that people will understand that rules
> are just rules and there are exceptions). 

Indeed, there are potentially patches (refactorings) where the only
possible test is 'all the current tests give the same results' simply
because the refactoring isn't supposed to have any effect on
behaviour. 

-- 
Piers


Thread Previous | Thread Next


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About