Don't Skip Failed SetUpTestCase #4708
Replies: 1 comment
-
Sorry, my mistake, it does return an exit code when SetUpTestCase fails. It's just my vscode plugin that doesn't notice the failure. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Since #247 if an assertion in SetUpTestCase fails, then all tests in the TestCase skip, and the executable exits with a 0 code.
However, that's not the bheaviour I need, I'd rather something (all the tests in the testcase or the testcase as a whole) failed, causing the whole executable to exit with an error code (otherwise my CI would silently keep passing).
Is there a known way to disable the skipping functionality introduced in #247 to force those tests to fail, or at least a way to cause skipped tests to result in an error code returned by the executable.
Beta Was this translation helpful? Give feedback.
All reactions