-
Notifications
You must be signed in to change notification settings - Fork 1.9k
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
Know on which test forge is stuck #4452
Comments
that makes sense, I'll add a warning like:
|
The most important thing in my opinion would be to have the warning during the execution of the test and not after it's done. And most importantly know which test is causing the issue. |
yes that's why I'm suggesting emitting a warning if a test exceeded like 60s and is still running |
Amazing thanks! |
Also a nice to have would be for slow tests with fuzzing, to know at which run of the fuzzing the current test is (ie 123/256) |
cc @Evalir |
Seems related to #585, maybe worth tackling both at the same time? |
Taking this up |
Gave this a bit of thought recently along with #585.
|
Component
Forge
Describe the feature you would like
When I'm running some unit tests on foundry I often get stuck on one for some reason (bad fuzzing, slow rpc, ecc). Since I have hundreds of tests, it would be nice to know on which test I'm stuck. Currently this output

is shown only when all the tests in the contracts have passed (or failed). This doesn't let me know which contract I should check.
Additional context
In case you're wondering why I don't figure out on the fly that my tests are getting stuck is because I'm using watcher mode.
The text was updated successfully, but these errors were encountered: