Assert Exceptions in MSTest NuGet Package

An extendible implementation of the Assert class in MSTest.



Allows for extending the Assert methods with the default MSTest methods as a default.

Includes a:
* Throws() method for asserting exceptions.
* ThrowsAsync() method for asserting exceptions for async methods.

INSTRUCTIONS: In your test class, inherit from MsTestExtensions.BaseTest. Type Assert.Throws() or Assert.ThrowsAsync().

that's it! All of the standard Assert. methods from MsTest will still be available.

Project page can be found at: https://github.com/bbraithwaite/MSTestExtensions.




Got any Assert Exceptions in MSTest Question?





Info

Version: 4.0.0
Author(s): bbraithwaite
Last Update: Tuesday, April 28, 2015
.NET Fiddle: Create the first Fiddle
Project Url: https://github.com/bbraithwaite/mstestextensions
NuGet Url: https://www.nuget.org/packages/MSTestExtensions


Install
Install-Package MSTestExtensions
dotnet add package MSTestExtensions
paket add MSTestExtensions
MSTestExtensions Download (Unzip the "nupkg" after downloading)



Tags



STATS

must-have-score

1.4

avg-downloads-per-day

82

days-since-last-release

3497