On 11 Apr 2002, Alexandre Julliard wrote:
I think it's much more useful to have line numbers, it makes it much easier to find the offending test.
If they don't have a meaningful name, sure, but if the name is suitably unique then grep -n, /, or Ctrl+S should work.
Most tests scripts will contain thousands of individual tests and you won't be able to come up with meaningful names for them anyway.
A lot of those are the same test repeated for different parameters. If the name incorporated the parameters (w/ a printf-style expansion) it wouldn't be too hard. Also, any unmodified test would work as before.
For the same reason, I don't think displaying every successful test is really useful. Traces are a much better way to see what's going on IMO.
It would be nice (for me anyway :) if tests were line-number independent.
As naming tests seems to be a stumbling block, I've attached a patch that just allows announcement of successful test results. I'm hoping it's acceptable. Named tests can wait for another day ...
---- Paul Millar