I have a requirement I must email list of all my failed tests within my maven spring batch application to my PO in daily manner. Unfortunately I do not have access to any deployment tools like Teamcity so that I could set-up such warning emails. I must do it in my codes. And I am trying to avoid
leave any trails of any of my test assertion failed exceptions in my logs
have any repeated test piece of my test codes
and finally email my noted failed test list and otherwise abandon email if all my tests have been passed.
Can I achieve this?