When you say Cursor automatically runs it, what do you mean?
Do you have a custom task set up in tasks.json, that's triggered by a keyboard shortcut?
If so, how do you feed it the test error? Using ${selectedText}?
https://gist.github.com/mohsen1/c867d038fc4f46494af4c4024cfc...
Not really. Just in natural language add to Cursor rules that it should invoke the script
https://gist.github.com/mohsen1/c867d038fc4f46494af4c4024cfc...
Not really. Just in natural language add to Cursor rules that it should invoke the script