I am trying to send all the failed test case error to an email whenever my rake test(Minitest) fails, Right now it shows the error and failed test case in the terminal now.
I have no clue how to capture those failed test cases errors and failed cases related info in some rails variable to and send those errors in the email.
I just want to get the error in my rails programmatically each time my test cases fail just like it shows in the terminal when I run rake test.
Explored Simplecov Github doc too, but didn't find anything
Like this failure case in terminal
Any help would be highly appreciated.
Aucun commentaire:
Enregistrer un commentaire