On 4 Mar 2007, at 03:40, Matisse Enzer wrote:


A tangential comment:

The xUnit approach avoids this question of "counting" altogether - you create one or more subroutines whose names begin with 'test', each of which contain one or more assertions such as is_deeply($got, $expected); and the test runner runs all the test* methods. It counts the number of test* methods for you.

See Test::Class & Test::Group :-)

Adrian

Reply via email to