whuang
6 years agoRegular Contributor
Anyway to stop a test if an error occured
Hi Support,
I was wondering is there anyway I can get TC to stop or skip the current running test automatically if any error occured? If there is any error occured in a test, the test will be failed for sure, so there is no need to waster time and keep it running.
Thanks
Hi,
> I can get TC to stop or skip the current running test automatically if any error occured?
and
> there is no need to waster time and keep it running.
Correct for Unit and Integration tests.
Usually not correct (or is discussible at least) for the functional end-to-end tests and depends on what you are going to get from the test.