Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

Required fields*

4
  • I was really surprised that there was no concise way to assert that a method throws an exception like in JUnit. Unless there are implications I'm not aware of, this is probably the most relevant answer currently. Commented Jan 23, 2019 at 20:02
  • 1
    This answer is for MsTest, the question is about NUnit. Commented Jul 6, 2020 at 15:07
  • Is it really for MSTest? Commented Jul 28, 2020 at 19:58
  • I don't know if it's only for MsTest, but it seems to work fine for it. Commented Jul 28, 2022 at 11:09