On Dec 2, 2004, at 7:24 PM, Michael G Schwern wrote:
Let's start calling it the comment, in all of our testing modules,
starting now.
I give this a hearty shrug of indifference. Patches to Test::More
welcome.
This patches Test::More, Test::Simple, Test::Tutorial and Test::Builder
to refer to
'na
On Thu, Dec 02, 2004 at 10:40:09AM -0600, Andy Lester wrote:
> I have a modest proposal.
>
> Stop calling the 2nd parm to ok() the "name". It's really a comment.
>
> ok( $is_happy, "Make sure the doodad is wingoed" );
>
> That text string is not a "name" in the sense of naming a test,
> esp
Andy,
You have my vote for "comments".
Calling it a test "name" have never made sense to me.
Steve
On Dec 2, 2004, at 11:40 AM, Andy Lester wrote:
I have a modest proposal.
Stop calling the 2nd parm to ok() the "name". It's really a comment.
ok( $is_happy, "Make sure the doodad is wingoed" );
Th
Ovid,
I second that complaint against JUnit. I recently have been doing some
Java work and found it somewhat frustrating that when my test failed I
had to read line numbers and hunt around, etc etc etc. I have gotten so
used to my test comment not only pointing me right to the failed test,
but
--- Andy Lester <[EMAIL PROTECTED]> wrote:
> > Hmm ... I like this idea, though I confess that I don't like that
> the comment is optional.
>
> There's no way to not make it optional. If you require that a
> comment
> be passed, then people will pass "comment" and leave it at that.
Yes, I'm pain
On Thu, Dec 02, 2004 at 09:14:03AM -0800, [EMAIL PROTECTED] ([EMAIL PROTECTED])
wrote:
> Hmm ... I like this idea, though I confess that I don't like that the
> comment is optional.
There's no way to not make it optional. If you require that a comment
be passed, then people will pass "comment" a
--- Andy Lester <[EMAIL PROTECTED]> wrote:
> I have a modest proposal.
> Stop calling the 2nd parm to ok() the "name". It's really a comment.
>
> ok( $is_happy, "Make sure the doodad is wingoed" );
Hmm ... I like this idea, though I confess that I don't like that the
comment is optional. Wh
I have a modest proposal.
Stop calling the 2nd parm to ok() the "name". It's really a comment.
ok( $is_happy, "Make sure the doodad is wingoed" );
That text string is not a "name" in the sense of naming a test,
especially since it's entirely optional. You can't do any lookup to say
"go fin