Pass test suite with failed test cases
I have a API that has a feature still under development so I am getting a 500 error when running some teste. I know this issue will be addressed in future updates. Is it possible to have the test suite pass but still keep those test cases that failed with their status?
I would like to have them in the report but not fail the whole test suite for two tests.
Do you definitely want to execute these currently failing tests? You could disable them so they don't get executed.
Or if you want them executed you could alter the assertions so they pass (which is, i admit, a rubbish solution)
Or you could perhaps force the test case status change to pass after executing the final teststep in the testcase? Have a look at the following stackoverflow link. This looks to do this option.
I can't think of any others, but i'm sure the groovy experts will have a whizzy way of doing it!
Thank you for your involvement and sugestions. I seams that the link you referred to is missing.
I had taken in consideration the methods mentioned by you but keeping them reported is kind of a reminder that the issues have to be fixed.
My bad....i didn't paste in the link.
Here ya go --> https://stackoverflow.com/questions/65024751/soapui-groovy-script-setting-test-step-status-to-test-s...