Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
kryptoklob opened this issue May 15, 2024 · 0 comments

Comments

@kryptoklob
Copy link

kryptoklob commented May 15, 2024

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 kryptoklob changed the title Request: Output filenames and line numbers Request: Output Filenames & Line Numbers in Test Output (when using the -vvv test flag) May 15, 2024
@kryptoklob kryptoklob changed the title Request: Output Filenames & Line Numbers in Test Output (when using the -vvv test flag) Request: Output Filenames & Line Numbers in Test Output (when using the -vvv test flag) May 15, 2024
@mds1 mds1 transferred this issue from foundry-rs/forge-std May 15, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant