How to access test results programatically
Is it possible somehow to access the results of all tests after the run?
I was looking into AfterTestRun hook, but I didn't find a way of getting some object or context that provides this information.
I am using Xunit, maybe there's a possibility of doing it so by using native Xunit methods.
My goal was only to send failed tests info to slack, and I wanted to avoid parsing manually the json file using bash (we are using azure devops)
Please sign in to leave a comment.