On Mon, Dec 06, 2004 at 10:28:45PM -0600, Andy Lester wrote: > I think even better than > > ok( $expr, "name" ); > or > ok( $expr, "comment" ); > is > ok( $expr, "label" ); > > RJBS points out that "comment" implies "not really worth doing", and I > still don't like "name" because it implies (to me) a unique identifier. > We also talked about "description", but "description" is just soooo > overloaded. > > Thoughts?
Changing the subject slightly, is there any guidance on what people should write in the name/comment/label? I ask because several times I've been puzzled by a test failure where the message printed is ambiguous. Compare these two: not ok 42 - is red not ok 42 - should be red The first isn't clear whether "is red" is what's expected or what's actually happened. Tim.