Open dboehmer opened 2 years ago
This might be possible via a plugin. But I do not think it makes sense as a default. If the necessary hook does not yet exist I can probably add it. I do think it should be made easy to implement something like this, if I have not already made it easy.
@dboehmer please see https://github.com/Test-More/Test2-Suite/pull/265 if this is sufficient for your needs we can either merge it here, or put it into its own dist.
I often use the DATA block for storing test data and process that in a loop. I just realized that
warn()
anddie()
report the line number of the current file handle but tests don’t. But that would be very handy for test statements repeated in a loop.I think it should be possible to do so. Do you agree it’s desirable?
I suggest the output should look like: