MSTest V4 is now available

Posted: (EET/GMT+2)

 

Microsoft has just recently made available the latest major version of its MSTest unit testing platform, which I have been happily using for a long time, just like many others.

The latest version 4.0 was made available at both GitHub (discussion and source) and at the NuGet gallery. But, I couldn't find any official V4 announcements on the usual Microsoft developer blogs.

On GitHub, there's a release document for version 4.0.0, which contains a short "What's New" type of listing. Some highlights:

  • New assertions, including Assert.That (very JS/TS style) and Assert.Contains
  • Breaking changes, including the removal of the [ExpectedException] attribute.

If you are migrating from MSTest V3, then you can find an automated changelog but GitHub listing the changes as Git commits.

More on the changes later.