You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Unit Tests that check Exceptions are being thrown (and that it's correct type of Exception) are currently done with try...catch blocks and Assert.Fail() in a relevant place.
Switch to using the ExpectedException syntax throughout.
The text was updated successfully, but these errors were encountered:
Note that ExpectedException support has been dropped in the latest version of NUnit. Whilst the unit testing framework currently being used in the Microsoft one, if ever cross-platform compatibility is wanted, then using ExpectedException could make it more difficult to port the unit tests to a different framework.
Unit Tests that check Exceptions are being thrown (and that it's correct type of Exception) are currently done with try...catch blocks and Assert.Fail() in a relevant place.
Switch to using the ExpectedException syntax throughout.
The text was updated successfully, but these errors were encountered: