Front page | perl.perl5.porters |
Postings from May 2008
Re: TODO Tests
Thread Previous
|
Thread Next
From:
Aristotle Pagaltzis
Date:
May 6, 2008 06:35
Subject:
Re: TODO Tests
Message ID:
20080506133456.GT4173@klangraum.plasmasturm.org
* Rafael Garcia-Suarez <rgarciasuarez@gmail.com> [2008-05-06 08:30]:
> 2008/5/5 Bram <p5p@perl.wizbit.be>:
> > Now there are three options:
> >
> > a) $s1 contains 3, no special output is printed
> > b) $s1 contains 1, output the same as it is now: (basically) unexpected
> > pass for todo: "test that foo() returns 1"
> > c) $s1 contains 2 or 4, output: unexpected output for todo: "test that
> > foo() returns 1"
>
> So you're basically proposing to extend the TAP protocol ?
Actually, this does not require TAP protocol buy-in (although
it may be worthwhile to add it so that TAP can convey a more
complete picture). It could easily be implemented right now by
having the TAP emitter test whether a failed test failed in the
expected manner or not and either include or omit the TODO
directive based on that.
Regards,
--
Aristotle Pagaltzis // <http://plasmasturm.org/>
Thread Previous
|
Thread Next