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
A pretty neat feature would be a new flag, that would run the test as usual. However, when there would be a failure, it would:
shrink it as usual
pause execution
print the failure message
open an elm repl
reexecute the test in the repl (with the shrunk data)
This would drop you nicely into the repl with everything going on in the test in scope. This comes from a workflow, where one would write a complex fuzz test, run it for say 10000 iterations. This can find some fairly obscure bugs, so one would like to be able to inspect the intermediate data structures, and even run some experiments in the console, however this can be hard to achieve with just the test output and time consuming to set up.
A nice further refinement would be that one could enter this mode after a run in watch mode by pressing say the D key, which would be a nice way to combine this with watch mode.
The text was updated successfully, but these errors were encountered:
A pretty neat feature would be a new flag, that would run the test as usual. However, when there would be a failure, it would:
This would drop you nicely into the repl with everything going on in the test in scope. This comes from a workflow, where one would write a complex fuzz test, run it for say 10000 iterations. This can find some fairly obscure bugs, so one would like to be able to inspect the intermediate data structures, and even run some experiments in the console, however this can be hard to achieve with just the test output and time consuming to set up.
A nice further refinement would be that one could enter this mode after a run in watch mode by pressing say the D key, which would be a nice way to combine this with watch mode.
The text was updated successfully, but these errors were encountered: