I would like to use the methods tearDownIfFailed and tearDownIfPassed.
when a test completes, I would like to call these methods and check if either of them are true and save that to a variable. If true i would then send a REST call to update a status on another service.
Note: I have checked online documentation and I still do not understand. Please provide a coding example.