foundry icon indicating copy to clipboard operation
foundry copied to clipboard

Request: Output Filenames & Line Numbers in Test Output (when using the `-vvv` test flag)

Open kryptoklob opened this issue 9 months ago • 0 comments

Feature Request

Namespace: Forge Tests

Context

When I debug tests, I often get confused as to which file (and line number) the function I'm looking at in the test output (especially when using the -vvv flag) corresponds to.

Request

Add a debug level that outputs the filename and line numbers inline with the test output, or add it into the existing -vvv debug level.

Misc

I haven't done a deep dive into foundry internals, so I'm not sure how hard this would be to implement. Would be willing to contribute towards this feature, likely when I have more time in a few weeks (perhaps ~8 total hours to get this implemented, if it is not already implemented)

kryptoklob avatar May 15 '24 01:05 kryptoklob