Quantcast
Channel: rahulsingla.com - VB.NET
Viewing all articles
Browse latest Browse all 11

Assertions in .NET - The Assert class

$
0
0

No doubt Visual Studio provides extensive Unit Testing framework. Plus there are feature-rich third-party frameworks (e.g. NUnit) available for Unit Testing your .NET code.

However, I was disappointed by lack of .NET support for Assertions. As you might be able to recall, Assertions guarantee that a given expression evaluates to a true value. If it doesn't, the Assertion fails and languages have their own ways of dealing with failed assertions.

read more


Viewing all articles
Browse latest Browse all 11

Trending Articles