Expecting tests to fail #253
-
Is there a way to mark a test as expected to fail? Specifically, I have some I suppose I could just I know you can do such a thing in |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 3 replies
-
You just save a |
Beta Was this translation helpful? Give feedback.
-
What's actually the expected result here? Do you expect the failure or do you want to ignore it? In other words, if the test would succeed against your expectation, should that lead to a test failure? |
Beta Was this translation helpful? Give feedback.
You just save a
.tlg
for the failure: the test then passes as you get the expected outcome. That's the same as testing error messages or similar: exit status for TeX is non-zero, but the test passes.