On 7/19/06, Michael G Schwern <[EMAIL PROTECTED]> wrote:
Descriptions are optional because they are not necessary for the test.
 Sometimes a test doesn't need a description, its obvious from reading
the code what its doing.  Sometimes it would be redundant.  Sometimes
you're just writing fast.  I write tests without descriptions all the
time.

Its not Test::More's job to enforce style.  The more things are
optional the more useful to more people it is.

What about someone creating a module  Test::HaveNames or similar that
if added to a test file will add a last test being ok only if all the tests
had some name.

There could be also a Test::HaveUniqNames checking - in addition to the
existance of test names also uniqueness.

Gabor

Reply via email to