Replies: 1 comment
-
|
Give the latest version a go - I've tweaked the flow a bit |
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
Uh oh!
There was an error while loading. Please reload this page.
-
Hi everyone
I was wondering if it's possible to fail a test (running an assertion) after the test has run, without placing the assertion in the test method itself.
E.g. I have an assertion that is valid for all tests, but if I add it to a method with [After(Test)] the error is:
rather than the assertion error.
I was also looking at ITestEndEventReceiver and do the assertion in OnTestEnd, the assertion throws in case of an error, but the test still passed.
Would there be a way to achieve that?
Beta Was this translation helpful? Give feedback.
All reactions