I am trying to run an RSpec test, and I want to detect if the test failed in the after
method. I have something like this right now:
after(:each) do
cc = ConnectController.new()
cc.update(<TEST-SERVER-CONTROLLER>, <TC-RESULT-ID>, result?)
end
As you can see, the result?
function is what I need to replace, to detect if the test fails or not, and to also get information about the test that failed.
after(:each)
which adds to the runtime. It's really useful to be able to check once after the whole suite. – Uncounted