Hi all,

I've just got around to adding default test names to Test::Class by wrapping Test::Builder:ok so doing:

define correct_answer : Test { is $answer, 42 };

will produce

ok 1 - correct_answer

This seems to work just dandy.

However, I was wondering if anybody else ever wanted to do this sort of thing and, if so, would a more generic API to the test name be useful - e.g. localising something like $Test::Builder::Test_name?

If so, I can probably be persuaded to write a patch - if not I'll shut up and go away :-)

Adrian

Reply via email to