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)
Dependencies
Tags
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.