- Original Message
From: Matisse Enzer <[EMAIL PROTECTED]>
> > if ( $parser->unexpectedly_succeeded ) { ... }
> >
> > But "unexpectedly_succeeded", while descriptive, is a terrible
> > method name. For the life of me, I can't t
On Jul 26, 2006, at 9:09 AM, Ovid wrote:
And for the parser to also track this:
if ( $parser->unexpectedly_succeeded ) { ... }
But "unexpectedly_succeeded", while descriptive, is a terrible
method name. For the life of me, I can't think of a better one
whi
David Landgren writes:
> Ovid wrote:
>
> > if ( $result->unexpectedly_succeeded ) { ... }
>
> todo_succeeded
That sounds good to me.
Smylers
Ovid wrote:
Hi all,
For the TAPx::Parser, I need a better way of tracking all tests which
unexpectedly succeed. The simple way is to have the user accumulate them while
the tests are running:
while ( my $result = $parser->results ) {
if ( $result->is_test && $result->has_todo && $resul
nd for the parser to also track this:
if ( $parser->unexpectedly_succeeded ) { ... }
But "unexpectedly_succeeded", while descriptive, is a terrible method name.
For the life of me, I can't think of a better one which is also equally
descriptive. Heck, all I've come up wit