@ThanhTo @Russ_Thomas @devalex88
Based on documentation (and observation) test listeners are executed and if there is a failure within test listener (ex. BeftoreTestCase()) tests will continue with the execution regardless of the pass/failed status of the listener. In our case, (and I assume in most), test case fails when the BeforeTestCase fails… but ideally I would assume that in case of a test listener failure test case is actually skipped and it does not get executed.
Existing solution can extend the execution time unnecessarily (can be couple of minutes/test case before it fails due to BeforeTestCase() listener failure) and also increases debugging time.
Is there a particular reason why test cases are executed even if there is a failure of the listener?
Any other opinions about this?
Thanks,
Rasko