ron7 has asked for the wisdom of the Perl Monks concerning the following question:
../t/10.system.t (Wstat: 1024 Tests: 82 Failed: 2) Failed tests: 77-78
Great! But which of 82 is 77 (without error-prone and painful manual counting)!!!
Manually inserting the number as a searchable string in a comment is going to get out of date real quick; I'm just not that disciplined.
Tracking by the string message of the failing test is practical (mostly) but painful.
I'd have though there's be a module which automatically adds a comment line with the sequential test number before each statement that Test is going to evaluate. If there is, I can't find it. How do others resolve this problem on non-trivial test suites?
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Relating Pert test report number to test items in the code
by ikegami (Patriarch) on Feb 11, 2011 at 05:56 UTC | |
by ron7 (Beadle) on Feb 14, 2011 at 08:29 UTC | |
|
Re: Relating Pert test report number to test items in the code
by moritz (Cardinal) on Feb 11, 2011 at 08:13 UTC | |
|
Re: Relating Pert test report number to test items in the code
by Khen1950fx (Canon) on Feb 11, 2011 at 09:51 UTC |