Perform an action only when a testcase fails #2211
-
I am new to xinit.net and I was looking for a way to identify at runtime test status and perform some action only when the test fails. Although in other test frameworks it can be done by using test context or listeners , I am looking for a way to achive it with xunit.net. |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 1 reply
-
I am also looking for such options. |
Beta Was this translation helpful? Give feedback.
-
There is nothing in v2 for this, but it's on the v3 roadmap: "Add test context object" This "open for discussion" item may also apply: "Introduce Snapshot Testing Like Jest" |
Beta Was this translation helpful? Give feedback.
There is nothing in v2 for this, but it's on the v3 roadmap: "Add test context object"
This "open for discussion" item may also apply: "Introduce Snapshot Testing Like Jest"