develooper Front page | perl.qa | Postings from January 2009

Re: numeric plans - feature or symptom?

From:
Eric Wilhelm
Date:
January 23, 2009 16:37
Subject:
Re: numeric plans - feature or symptom?
Message ID:
200901231637.11411.scratchcomputing@gmail.com
# from Fergal Daly
# on Friday 23 January 2009 14:20:

>You seem to be saying "calculating the checksum is tedious work for a
>human and should be done by a computer" but in that case all you are
>checking is that Test::Builder and Test::Harness agree on the tests
>they saw running.

No.  That would be no_plan.

>Both of these values comes from the run time 
>behaviour of the code and will always be the same. Comparing them
>captures nothing of the author's intention vs the run time and thus
>will never catch any bugs.

This is true iff you limit your constructs to a static numeric plan and 
some arbitrary code.  Without moving beyond those assumptions, we don't 
have anything left to discuss here.  I'll be in the future.

--Eric
-- 
Those who cannot remember the past are condemned to repeat it.
--George Santayana
---------------------------------------------------
    http://scratchcomputing.com
---------------------------------------------------



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