You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When iterating on circuits I'd like to be able to quickly check if my changes have broken/fixed any of the tests I have written in Noir.
nargo test however recompiles every test function on each call. This can be very slow in cases where I have many tests which all need to compile significant circuits, even if I haven't changed any of the Noir source code which is relevant to the test in question.
Happy Case
We can then reuse the caching behaviour in #2743 to check if the test has been changed. If so we can re-run the test and display the updated output, otherwise we can reuse the old result.
Alternatives Considered
No response
Additional Context
This is basically a requirement for nargo test --watch functionality.
Would you like to submit a PR for this Issue?
No
Support Needs
No response
The text was updated successfully, but these errors were encountered:
Problem
When iterating on circuits I'd like to be able to quickly check if my changes have broken/fixed any of the tests I have written in Noir.
nargo test
however recompiles every test function on each call. This can be very slow in cases where I have many tests which all need to compile significant circuits, even if I haven't changed any of the Noir source code which is relevant to the test in question.Happy Case
We can then reuse the caching behaviour in #2743 to check if the test has been changed. If so we can re-run the test and display the updated output, otherwise we can reuse the old result.
Alternatives Considered
No response
Additional Context
This is basically a requirement for
nargo test --watch
functionality.Would you like to submit a PR for this Issue?
No
Support Needs
No response
The text was updated successfully, but these errors were encountered: