-
Notifications
You must be signed in to change notification settings - Fork 715
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fixed Ignore exception issue whereby it was still executing every sta… #1538
base: master
Are you sure you want to change the base?
Fixed Ignore exception issue whereby it was still executing every sta… #1538
Conversation
…tement in the script table even though it will ignore the result
@fhoeben do you mind reviewing? |
@eireglas what is the advantage of this way of ignoring all compared to just stopping the test? I think we also need some tests to document/check the right things are ignored and not executed (not too little or too much) |
9afa7a1
to
081ea03
Compare
@fhoeben Thanks for the feedback. I've added some tests which would previously have failed but now pass due to my change. Also, I have updated the release notes to better explain the change. |
@eireglas looks good, thanks. One last comment: could you update the test so the difference in behaviour between ignore script and all is explicit. I think they currently both show that the script is stopped/ignored, so we don't see that for ignore all subsequent ones are also ignored, while when just the one script is ignored subsequent ones are executed normally. |
…s and ignore all tests exceptions working
@fhoeben Thanks, the 2 new tests I added were just to make sure that when either of the ignore exceptions are thrown that the statement results in a null i.e. not executed. |
Fixed Ignore exception issue whereby it was still executing every statement in the script table even though it will ignore the result
Example below shows IGNORE_ALL_TESTS exception but what I found was it would still execute the lines below even though it would ignore the result. This fix resolves that issue which also help speed up the overall test