Tag Archives: ExpectedException

Nunit [ExpectedException] attribute no longer in use 3.0 onwards.

Was converting a series of unit tests from MsTest to Nunit (due to TeamCity constraints with MsTest).  Was scratching my head for a while – Coulda sworn Nunit supports the ExpectedException attribute.  Quick google and it does – Look! there in the official Nunit documentation  Further digging gets me to this  .  Ok.

Leave a Comment

Filed under Comps