<?xml version="1.0"?><?xml-stylesheet type="text/xsl" href="http://www.codeplex.com/rss.xsl"?><rss version="2.0"><channel><title>Visual Studio Testing Extensions</title><link>http://vstestingextensions.codeplex.com/project/feeds/rss</link><description>The Visual Studio Testing Extensions is a library that exposes a set of extension methods to provide a way to write more readable unit tests in the Visual Studio Unit Testing environment.  It is developed in C&amp;#35; 4.0 and requires the .NET 4.0 runtime.</description><item><title>Created Issue: Cannot see methods in Object Browser [7740]</title><link>http://vstestingextensions.codeplex.com/workitem/7740</link><description>Please expose them so they&amp;#39;re a good reference point.  Thanks&amp;#33;&lt;br /&gt;</description><author>robcube</author><pubDate>Thu, 16 Feb 2012 22:13:51 GMT</pubDate><guid isPermaLink="false">Created Issue: Cannot see methods in Object Browser [7740] 20120216101351P</guid></item><item><title>Updated Wiki: AssertHelper</title><link>http://vstestingextensions.codeplex.com/wikipage?title=AssertHelper&amp;version=2</link><description>&lt;div class="wikidoc"&gt;&lt;h2&gt;AssertHelper&lt;/h2&gt;These methods help with creating custom assertions.&lt;br /&gt;
&lt;ul&gt;&lt;li&gt;&lt;a href="#AssertFailure"&gt;AssertFailure&lt;/a&gt;&lt;/li&gt;&lt;/ul&gt;
&lt;br /&gt;&lt;a name="AssertFailure"&gt;&lt;/a&gt;
&lt;h3&gt;AssertFailure&lt;/h3&gt;Creates a custom &lt;i&gt;AssertFailedException&lt;/i&gt; and provides information for the exception.
&lt;h4&gt;Usage&lt;/h4&gt;&lt;div style="color:Black;background-color:White;"&gt;&lt;pre&gt;
&lt;span style="color:Blue;"&gt;public&lt;/span&gt; &lt;span style="color:Blue;"&gt;static&lt;/span&gt; &lt;span style="color:Blue;"&gt;void&lt;/span&gt; AssertFailed(&lt;span style="color:Blue;"&gt;string&lt;/span&gt; assertionName, &lt;span style="color:Blue;"&gt;string&lt;/span&gt; message, &lt;span style="color:Blue;"&gt;params&lt;/span&gt; &lt;span style="color:Blue;"&gt;object&lt;/span&gt;[] parameters)
&lt;/pre&gt;&lt;/div&gt;&lt;b&gt;Supported Releases:&lt;/b&gt; 1.2 and later&lt;/div&gt;&lt;div class="ClearBoth"&gt;&lt;/div&gt;</description><author>jeremiahclark</author><pubDate>Tue, 07 Feb 2012 16:47:58 GMT</pubDate><guid isPermaLink="false">Updated Wiki: AssertHelper 20120207044758P</guid></item><item><title>Updated Wiki: AssertHelper</title><link>http://vstestingextensions.codeplex.com/wikipage?title=AssertHelper&amp;version=1</link><description>&lt;div class="wikidoc"&gt;&lt;h2&gt;AssertHelper&lt;/h2&gt;These methods help with creating custom assertions.&lt;br /&gt;
&lt;ul&gt;&lt;li&gt;&lt;a href="#AssertFailure"&gt;AssertFailure&lt;/a&gt;&lt;/li&gt;&lt;/ul&gt;
&lt;br /&gt;&lt;a name="AssertFailure"&gt;&lt;/a&gt;
&lt;h3&gt;AssertFailure&lt;/h3&gt;Asserts that the Action should throw an exception.
&lt;h4&gt;Usage&lt;/h4&gt;Where &lt;b&gt;TExceptionType&lt;/b&gt; is an Exception&lt;br /&gt;&lt;div style="color:Black;background-color:White;"&gt;&lt;pre&gt;
&lt;span style="color:Blue;"&gt;public&lt;/span&gt; &lt;span style="color:Blue;"&gt;static&lt;/span&gt; TExceptionType ShouldThrowException&amp;lt;TExceptionType&amp;gt;(Action action) 
&lt;span style="color:Blue;"&gt;public&lt;/span&gt; &lt;span style="color:Blue;"&gt;static&lt;/span&gt; TExceptionType ShouldThrowException&amp;lt;TExceptionType&amp;gt;(Action action, &lt;span style="color:Blue;"&gt;string&lt;/span&gt; message) 
&lt;span style="color:Blue;"&gt;public&lt;/span&gt; &lt;span style="color:Blue;"&gt;static&lt;/span&gt; TExceptionType ShouldThrowException&amp;lt;TExceptionType&amp;gt;(Action action, &lt;span style="color:Blue;"&gt;string&lt;/span&gt; message, &lt;span style="color:Blue;"&gt;params&lt;/span&gt; &lt;span style="color:Blue;"&gt;object&lt;/span&gt;[] parameters) 
&lt;/pre&gt;&lt;/div&gt;&lt;h4&gt;Remarks&lt;/h4&gt;This method is contained in the &lt;b&gt;Testing&lt;/b&gt; static class of the library.&lt;br /&gt;Unlike the default Exception testing in Visual Studio, you can test multiple Exceptions within the same test method.
&lt;h4&gt;Example&lt;/h4&gt;&lt;div style="color:Black;background-color:White;"&gt;&lt;pre&gt;
[TestMethod]
&lt;span style="color:Blue;"&gt;public&lt;/span&gt; &lt;span style="color:Blue;"&gt;void&lt;/span&gt; Test()
{
   &lt;span style="color:Blue;"&gt;int&lt;/span&gt; zero = 0;
   Testing.ShouldThrowException&amp;lt;DivideByZeroException&amp;gt;( () =&amp;gt; &lt;span style="color:Blue;"&gt;int&lt;/span&gt; x = 12 / zero );
}
&lt;/pre&gt;&lt;/div&gt;&lt;br /&gt;&lt;div style="color:Black;background-color:White;"&gt;&lt;pre&gt;
[TestMethod]
&lt;span style="color:Blue;"&gt;public&lt;/span&gt; &lt;span style="color:Blue;"&gt;void&lt;/span&gt; Test()
{
   &lt;span style="color:Green;"&gt;// Multiple expected exceptions can be tested in the same test method&lt;/span&gt;
   &lt;span style="color:Blue;"&gt;int&lt;/span&gt; zero = 0;
   Testing.ShouldThrowException&amp;lt;DivideByZeroException&amp;gt;( () =&amp;gt; &lt;span style="color:Blue;"&gt;int&lt;/span&gt; x = 12 / zero );
   Testing.ShouldThrowException&amp;lt;InvalidCastException&amp;gt;( () =&amp;gt; &lt;span style="color:Blue;"&gt;bool&lt;/span&gt; x = (&lt;span style="color:Blue;"&gt;bool&lt;/span&gt;)DateTime.Now );
}
&lt;/pre&gt;&lt;/div&gt;&lt;b&gt;Supported Releases:&lt;/b&gt; All&lt;/div&gt;&lt;div class="ClearBoth"&gt;&lt;/div&gt;</description><author>jeremiahclark</author><pubDate>Tue, 07 Feb 2012 16:45:18 GMT</pubDate><guid isPermaLink="false">Updated Wiki: AssertHelper 20120207044518P</guid></item><item><title>Updated Wiki: TypeAssertions</title><link>http://vstestingextensions.codeplex.com/wikipage?title=TypeAssertions&amp;version=2</link><description>&lt;div class="wikidoc"&gt;&lt;h2&gt;Type Assertions&lt;/h2&gt;These assertion extension methods can be applied to only Type object types.&lt;br /&gt;
&lt;ul&gt;&lt;li&gt;&lt;a href="#ShouldBeAssignableFrom"&gt;ShouldBeAssignableFrom&lt;/a&gt;&lt;/li&gt;&lt;/ul&gt;
&lt;br /&gt;&lt;a name="ShouldBeAssignableFrom"&gt;&lt;/a&gt;
&lt;h3&gt;ShouldBeAssignableFrom&lt;/h3&gt;Asserts that this type value is assignable from another type.
&lt;h4&gt;Usage&lt;/h4&gt;&lt;div style="color:Black;background-color:White;"&gt;&lt;pre&gt;
&lt;span style="color:Blue;"&gt;public&lt;/span&gt; &lt;span style="color:Blue;"&gt;static&lt;/span&gt; Type ShouldBeAssignableFrom(&lt;span style="color:Blue;"&gt;this&lt;/span&gt; Type source, Type comparer)
&lt;span style="color:Blue;"&gt;public&lt;/span&gt; &lt;span style="color:Blue;"&gt;static&lt;/span&gt; Type ShouldBeAssignableFrom(&lt;span style="color:Blue;"&gt;this&lt;/span&gt; Type source, Type comparer, &lt;span style="color:Blue;"&gt;string&lt;/span&gt; message)
&lt;span style="color:Blue;"&gt;public&lt;/span&gt; &lt;span style="color:Blue;"&gt;static&lt;/span&gt; Type ShouldBeAssignableFrom(&lt;span style="color:Blue;"&gt;this&lt;/span&gt; Type source, Type comparer, &lt;span style="color:Blue;"&gt;string&lt;/span&gt; message, &lt;span style="color:Blue;"&gt;params&lt;/span&gt; &lt;span style="color:Blue;"&gt;object&lt;/span&gt;[] parameters)
&lt;span style="color:Blue;"&gt;public&lt;/span&gt; &lt;span style="color:Blue;"&gt;static&lt;/span&gt; Type ShouldBeAssignableFrom&amp;lt;TComparer&amp;gt;(&lt;span style="color:Blue;"&gt;this&lt;/span&gt; Type source)
&lt;span style="color:Blue;"&gt;public&lt;/span&gt; &lt;span style="color:Blue;"&gt;static&lt;/span&gt; Type ShouldBeAssignableFrom&amp;lt;TComparer&amp;gt;((&lt;span style="color:Blue;"&gt;this&lt;/span&gt; Type source, &lt;span style="color:Blue;"&gt;string&lt;/span&gt; message)
&lt;span style="color:Blue;"&gt;public&lt;/span&gt; &lt;span style="color:Blue;"&gt;static&lt;/span&gt; Type ShouldBeAssignableFrom&amp;lt;TComparer&amp;gt;((&lt;span style="color:Blue;"&gt;this&lt;/span&gt; Type source, &lt;span style="color:Blue;"&gt;string&lt;/span&gt; message, &lt;span style="color:Blue;"&gt;params&lt;/span&gt; &lt;span style="color:Blue;"&gt;object&lt;/span&gt;[] parameters)
&lt;/pre&gt;&lt;/div&gt;&lt;h4&gt;Example&lt;/h4&gt;&lt;div style="color:Black;background-color:White;"&gt;&lt;pre&gt;
[TestMethod]
&lt;span style="color:Blue;"&gt;public&lt;/span&gt; &lt;span style="color:Blue;"&gt;void&lt;/span&gt; Test()
{
   Type foo = &lt;span style="color:Blue;"&gt;typeof&lt;/span&gt;(ICollection);
   foo.ShouldBeAssignableFrom(IEnumerable);

   Type foo = &lt;span style="color:Blue;"&gt;typeof&lt;/span&gt;(IList);
   foo.ShouldBeAssignableFrom&amp;lt;IEnumerable&amp;gt;();
}
&lt;/pre&gt;&lt;/div&gt;&lt;b&gt;Supported Releases:&lt;/b&gt; 1.2 and later&lt;br /&gt;&lt;/div&gt;&lt;div class="ClearBoth"&gt;&lt;/div&gt;</description><author>jeremiahclark</author><pubDate>Tue, 07 Feb 2012 16:43:11 GMT</pubDate><guid isPermaLink="false">Updated Wiki: TypeAssertions 20120207044311P</guid></item><item><title>Updated Wiki: TypeAssertions</title><link>http://vstestingextensions.codeplex.com/wikipage?title=TypeAssertions&amp;version=1</link><description>&lt;div class="wikidoc"&gt;&lt;h2&gt;Type Assertions&lt;/h2&gt;These assertion extension methods can be applied to only Type object types.&lt;br /&gt;
&lt;ul&gt;&lt;li&gt;&lt;a href="#ShouldBeAssignableFrom"&gt;ShouldBeAssignableFrom&lt;/a&gt;&lt;/li&gt;&lt;/ul&gt;
&lt;br /&gt;&lt;a name="ShouldBeAssignableFrom"&gt;&lt;/a&gt;
&lt;h3&gt;ShouldBeAssignableFrom&lt;/h3&gt;Asserts that this type value is assignable from another type.
&lt;h4&gt;Usage&lt;/h4&gt;&lt;div style="color:Black;background-color:White;"&gt;&lt;pre&gt;
&lt;span style="color:Blue;"&gt;public&lt;/span&gt; &lt;span style="color:Blue;"&gt;static&lt;/span&gt; Type ShouldBeAssignableFrom(&lt;span style="color:Blue;"&gt;this&lt;/span&gt; Type source, Type comparer)
&lt;span style="color:Blue;"&gt;public&lt;/span&gt; &lt;span style="color:Blue;"&gt;static&lt;/span&gt; Type ShouldBeAssignableFrom(&lt;span style="color:Blue;"&gt;this&lt;/span&gt; Type source, Type comparer, &lt;span style="color:Blue;"&gt;string&lt;/span&gt; message)
&lt;span style="color:Blue;"&gt;public&lt;/span&gt; &lt;span style="color:Blue;"&gt;static&lt;/span&gt; Type ShouldBeAssignableFrom(&lt;span style="color:Blue;"&gt;this&lt;/span&gt; Type source, Type comparer, &lt;span style="color:Blue;"&gt;string&lt;/span&gt; message, &lt;span style="color:Blue;"&gt;params&lt;/span&gt; &lt;span style="color:Blue;"&gt;object&lt;/span&gt;[] parameters)
&lt;span style="color:Blue;"&gt;public&lt;/span&gt; &lt;span style="color:Blue;"&gt;static&lt;/span&gt; Type ShouldBeAssignableFrom&amp;lt;TComparer&amp;gt;(&lt;span style="color:Blue;"&gt;this&lt;/span&gt; Type source)
&lt;span style="color:Blue;"&gt;public&lt;/span&gt; &lt;span style="color:Blue;"&gt;static&lt;/span&gt; Type ShouldBeAssignableFrom&amp;lt;TComparer&amp;gt;((&lt;span style="color:Blue;"&gt;this&lt;/span&gt; Type source, &lt;span style="color:Blue;"&gt;string&lt;/span&gt; message)
&lt;span style="color:Blue;"&gt;public&lt;/span&gt; &lt;span style="color:Blue;"&gt;static&lt;/span&gt; Type ShouldBeAssignableFrom&amp;lt;TComparer&amp;gt;((&lt;span style="color:Blue;"&gt;this&lt;/span&gt; Type source, &lt;span style="color:Blue;"&gt;string&lt;/span&gt; message, &lt;span style="color:Blue;"&gt;params&lt;/span&gt; &lt;span style="color:Blue;"&gt;object&lt;/span&gt;[] parameters)
&lt;/pre&gt;&lt;/div&gt;&lt;h4&gt;Example&lt;/h4&gt;&lt;div style="color:Black;background-color:White;"&gt;&lt;pre&gt;
[TestMethod]
&lt;span style="color:Blue;"&gt;public&lt;/span&gt; &lt;span style="color:Blue;"&gt;void&lt;/span&gt; Test()
{
   Type foo = &lt;span style="color:Blue;"&gt;typeof&lt;/span&gt;(ICollection);
   foo.ShouldBeAssignableFrom(IEnumerable);

   Type foo = &lt;span style="color:Blue;"&gt;typeof&lt;/span&gt;(IList);
   foo.ShouldBeAssignableFrom&amp;lt;IEnumerable&amp;gt;();
}
&lt;/pre&gt;&lt;/div&gt;&lt;b&gt;Supported Releases:&lt;/b&gt; All&lt;br /&gt;&lt;/div&gt;&lt;div class="ClearBoth"&gt;&lt;/div&gt;</description><author>jeremiahclark</author><pubDate>Tue, 07 Feb 2012 16:42:29 GMT</pubDate><guid isPermaLink="false">Updated Wiki: TypeAssertions 20120207044229P</guid></item><item><title>Updated Wiki: Documentation</title><link>http://vstestingextensions.codeplex.com/documentation?version=19</link><description>&lt;div class="wikidoc"&gt;&lt;h2&gt;Visual Studio Testing Extensions Documentation&lt;/h2&gt;This is the documentation for the Visual Studio Testing Extensions.  As new versions are released, any changes, additions or deletions will be annotated in the documentation. &lt;br /&gt;
&lt;h3&gt;Introduction&lt;/h3&gt;&lt;ul&gt;&lt;li&gt;&lt;a href="http://vstestingextensions.codeplex.com/wikipage?title=Usage&amp;referringTitle=Documentation"&gt;Using the Testing Extensions&lt;/a&gt;&lt;/li&gt;&lt;/ul&gt;

&lt;h3&gt;Types of Assertions&lt;/h3&gt;&lt;ul&gt;&lt;li&gt;&lt;a href="http://vstestingextensions.codeplex.com/wikipage?title=GenericAssertions&amp;referringTitle=Documentation"&gt;Generic&lt;/a&gt;
&lt;ul&gt;&lt;li&gt;&lt;a href="http://vstestingextensions.codeplex.com/wikipage?title=GenericAssertions&amp;referringTitle=Documentation&amp;ANCHOR#ShouldEqual"&gt;ShouldEqual&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="http://vstestingextensions.codeplex.com/wikipage?title=GenericAssertions&amp;referringTitle=Documentation&amp;ANCHOR#ShouldNotEqual"&gt;ShouldNotEqual&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="http://vstestingextensions.codeplex.com/wikipage?title=GenericAssertions&amp;referringTitle=Documentation&amp;ANCHOR#ShouldBeSameAs"&gt;ShouldBeSameAs&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="http://vstestingextensions.codeplex.com/wikipage?title=GenericAssertions&amp;referringTitle=Documentation&amp;ANCHOR#ShouldNotBeSameAs"&gt;ShouldNotBeSameAs&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="http://vstestingextensions.codeplex.com/wikipage?title=GenericAssertions&amp;referringTitle=Documentation&amp;ANCHOR#ShouldBeNull"&gt;ShouldBeNull&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="http://vstestingextensions.codeplex.com/wikipage?title=GenericAssertions&amp;referringTitle=Documentation&amp;ANCHOR#ShouldNotBeNull"&gt;ShouldNotBeNull&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="http://vstestingextensions.codeplex.com/wikipage?title=GenericAssertions&amp;referringTitle=Documentation&amp;ANCHOR#ShouldBeOfType"&gt;ShouldBeOfType&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="http://vstestingextensions.codeplex.com/wikipage?title=GenericAssertions&amp;referringTitle=Documentation&amp;ANCHOR#ShouldNotBeOfType"&gt;ShouldNotBeOfType&lt;/a&gt;&lt;/li&gt;&lt;/ul&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="http://vstestingextensions.codeplex.com/wikipage?title=NumericAssertions&amp;referringTitle=Documentation"&gt;Numeric&lt;/a&gt;
&lt;ul&gt;&lt;li&gt;&lt;a href="http://vstestingextensions.codeplex.com/wikipage?title=NumericAssertions&amp;referringTitle=Documentation&amp;ANCHOR#ShouldBeGreaterThan"&gt;ShouldBeGreaterThan&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="http://vstestingextensions.codeplex.com/wikipage?title=NumericAssertions&amp;referringTitle=Documentation&amp;ANCHOR#ShouldBeGreaterThanOrEqualTo"&gt;ShouldBeGreaterThanOrEqualTo&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="http://vstestingextensions.codeplex.com/wikipage?title=NumericAssertions&amp;referringTitle=Documentation&amp;ANCHOR#ShouldBeLessThan"&gt;ShouldBeLessThan&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="http://vstestingextensions.codeplex.com/wikipage?title=NumericAssertions&amp;referringTitle=Documentation&amp;ANCHOR#ShouldBeLessThanOrEqualTo"&gt;ShouldBeLessThanOrEqualTo&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="http://vstestingextensions.codeplex.com/wikipage?title=NumericAssertions&amp;referringTitle=Documentation&amp;ANCHOR#ShouldBeBetween"&gt;ShouldBeBetween&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="http://vstestingextensions.codeplex.com/wikipage?title=NumericAssertions&amp;referringTitle=Documentation&amp;ANCHOR#ShouldNotBeBetween"&gt;ShouldNotBeBetween&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="http://vstestingextensions.codeplex.com/wikipage?title=NumericAssertions&amp;referringTitle=Documentation&amp;ANCHOR#ShouldBePositive"&gt;ShouldBePositive&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="http://vstestingextensions.codeplex.com/wikipage?title=NumericAssertions&amp;referringTitle=Documentation&amp;ANCHOR#ShouldBeNegative"&gt;ShouldBeNegative&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="http://vstestingextensions.codeplex.com/wikipage?title=NumericAssertions&amp;referringTitle=Documentation&amp;ANCHOR#ShouldBeIntegral"&gt;ShouldBeIntegral&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="http://vstestingextensions.codeplex.com/wikipage?title=NumericAssertions&amp;referringTitle=Documentation&amp;ANCHOR#ShouldBeFractional"&gt;ShouldBeFractional&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="http://vstestingextensions.codeplex.com/wikipage?title=NumericAssertions&amp;referringTitle=Documentation&amp;ANCHOR#ShouldRoundTo"&gt;ShouldRoundTo&lt;/a&gt;&lt;/li&gt;&lt;/ul&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="http://vstestingextensions.codeplex.com/wikipage?title=StringAssertions&amp;referringTitle=Documentation"&gt;String and Char&lt;/a&gt;
&lt;ul&gt;&lt;li&gt;&lt;a href="http://vstestingextensions.codeplex.com/wikipage?title=StringAssertions&amp;referringTitle=Documentation&amp;ANCHOR#ShouldEqualIgnoringCase"&gt;ShouldEqualIgnoringCase&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="http://vstestingextensions.codeplex.com/wikipage?title=StringAssertions&amp;referringTitle=Documentation&amp;ANCHOR#ShouldNotEqualIgnoringCase"&gt;ShouldNotEqualIgnoringCase&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="http://vstestingextensions.codeplex.com/wikipage?title=StringAssertions&amp;referringTitle=Documentation&amp;ANCHOR#ShouldBeEmpty"&gt;ShouldBeEmpty&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="http://vstestingextensions.codeplex.com/wikipage?title=StringAssertions&amp;referringTitle=Documentation&amp;ANCHOR#ShouldNotBeEmpty"&gt;ShouldNotBeEmpty&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="http://vstestingextensions.codeplex.com/wikipage?title=StringAssertions&amp;referringTitle=Documentation&amp;ANCHOR#ShouldBePrintable"&gt;ShouldBePrintable&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="http://vstestingextensions.codeplex.com/wikipage?title=StringAssertions&amp;referringTitle=Documentation&amp;ANCHOR#ShouldNotBePrintable"&gt;ShouldNotBePrintable&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="http://vstestingextensions.codeplex.com/wikipage?title=StringAssertions&amp;referringTitle=Documentation&amp;ANCHOR#ShouldContain"&gt;ShouldContain&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="http://vstestingextensions.codeplex.com/wikipage?title=StringAssertions&amp;referringTitle=Documentation&amp;ANCHOR#ShouldContainIgnoringCase"&gt;ShouldContainIgnoringCase&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="http://vstestingextensions.codeplex.com/wikipage?title=StringAssertions&amp;referringTitle=Documentation&amp;ANCHOR#ShouldNotContain"&gt;ShouldNotContain&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="http://vstestingextensions.codeplex.com/wikipage?title=StringAssertions&amp;referringTitle=Documentation&amp;ANCHOR#ShouldNotContainIgnoringCase"&gt;ShouldNotContainIgnoringCase&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="http://vstestingextensions.codeplex.com/wikipage?title=StringAssertions&amp;referringTitle=Documentation&amp;ANCHOR#ShouldHaveLengthOf"&gt;ShouldHaveLengthOf&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="http://vstestingextensions.codeplex.com/wikipage?title=StringAssertions&amp;referringTitle=Documentation&amp;ANCHOR#ShouldNotHaveLengthOf"&gt;ShouldNotHaveLengthOf&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="http://vstestingextensions.codeplex.com/wikipage?title=StringAssertions&amp;referringTitle=Documentation&amp;ANCHOR#ShouldHaveLengthOfAtLeast"&gt;ShouldHaveLengthOfAtLeast&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="http://vstestingextensions.codeplex.com/wikipage?title=StringAssertions&amp;referringTitle=Documentation&amp;ANCHOR#ShouldHaveLengthOfAtMost"&gt;ShouldHaveLengthOfAtMost&lt;/a&gt;&lt;/li&gt;&lt;/ul&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="http://vstestingextensions.codeplex.com/wikipage?title=BooleanAssertions&amp;referringTitle=Documentation"&gt;Boolean&lt;/a&gt;
&lt;ul&gt;&lt;li&gt;&lt;a href="http://vstestingextensions.codeplex.com/wikipage?title=BooleanAssertions&amp;referringTitle=Documentation&amp;ANCHOR#ShouldBeFalse"&gt;ShouldBeFalse&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="http://vstestingextensions.codeplex.com/wikipage?title=BooleanAssertions&amp;referringTitle=Documentation&amp;ANCHOR#ShouldBeTrue"&gt;ShouldBeTrue&lt;/a&gt;&lt;/li&gt;&lt;/ul&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="http://vstestingextensions.codeplex.com/wikipage?title=DateTimeAssertions&amp;referringTitle=Documentation"&gt;DateTime&lt;/a&gt;
&lt;ul&gt;&lt;li&gt;&lt;a href="http://vstestingextensions.codeplex.com/wikipage?title=DateTimeAssertions&amp;referringTitle=Documentation&amp;ANCHOR#ShouldBeBefore"&gt;ShouldBeBefore&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="http://vstestingextensions.codeplex.com/wikipage?title=DateTimeAssertions&amp;referringTitle=Documentation&amp;ANCHOR#ShouldBeBeforeOrSameAs"&gt;ShouldBeBeforeOrSameAs&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="http://vstestingextensions.codeplex.com/wikipage?title=DateTimeAssertions&amp;referringTitle=Documentation&amp;ANCHOR#ShouldBeAfter"&gt;ShouldBeAfter&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="http://vstestingextensions.codeplex.com/wikipage?title=DateTimeAssertions&amp;referringTitle=Documentation&amp;ANCHOR#ShouldBeAfterOrSameAs"&gt;ShouldBeAfterOrSameAs&lt;/a&gt;&lt;/li&gt;&lt;/ul&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="http://vstestingextensions.codeplex.com/wikipage?title=TypeAssertions&amp;referringTitle=Documentation"&gt;Type&lt;/a&gt;
&lt;ul&gt;&lt;li&gt;&lt;a href="http://vstestingextensions.codeplex.com/wikipage?title=TypeAssertions&amp;referringTitle=Documentation&amp;ANCHOR#ShouldBeAssignableFrom"&gt;ShouldBeAssignableFrom&lt;/a&gt;&lt;/li&gt;&lt;/ul&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="http://vstestingextensions.codeplex.com/wikipage?title=ICollectionAssertions&amp;referringTitle=Documentation"&gt;ICollection&amp;#60;T&amp;#62;&lt;/a&gt;
&lt;ul&gt;&lt;li&gt;&lt;a href="http://vstestingextensions.codeplex.com/wikipage?title=ICollectionAssertions&amp;referringTitle=Documentation&amp;ANCHOR#ShouldBeEmpty"&gt;ShouldBeEmpty&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="http://vstestingextensions.codeplex.com/wikipage?title=ICollectionAssertions&amp;referringTitle=Documentation&amp;ANCHOR#ShouldNotBeEmpty"&gt;ShouldNotBeEmpty&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="http://vstestingextensions.codeplex.com/wikipage?title=ICollectionAssertions&amp;referringTitle=Documentation&amp;ANCHOR#ShouldContain"&gt;ShouldContain&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="http://vstestingextensions.codeplex.com/wikipage?title=ICollectionAssertions&amp;referringTitle=Documentation&amp;ANCHOR#ShouldNotContain"&gt;ShouldNotContain&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="http://vstestingextensions.codeplex.com/wikipage?title=ICollectionAssertions&amp;referringTitle=Documentation&amp;ANCHOR#ShouldHaveCountOf"&gt;ShouldHaveCountOf&lt;/a&gt;&lt;/li&gt;&lt;/ul&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="http://vstestingextensions.codeplex.com/wikipage?title=IEnumerableAssertions&amp;referringTitle=Documentation"&gt;IEnumerable&amp;#60;T&amp;#62;&lt;/a&gt;
&lt;ul&gt;&lt;li&gt;&lt;a href="http://vstestingextensions.codeplex.com/wikipage?title=IEnumerableAssertions&amp;referringTitle=Documentation&amp;ANCHOR#ShouldBeEmpty"&gt;ShouldBeEmpty&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="http://vstestingextensions.codeplex.com/wikipage?title=IEnumerableAssertions&amp;referringTitle=Documentation&amp;ANCHOR#ShouldNotBeEmpty"&gt;ShouldNotBeEmpty&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="http://vstestingextensions.codeplex.com/wikipage?title=IEnumerableAssertions&amp;referringTitle=Documentation&amp;ANCHOR#ShouldContain"&gt;ShouldContain&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="http://vstestingextensions.codeplex.com/wikipage?title=IEnumerableAssertions&amp;referringTitle=Documentation&amp;ANCHOR#ShouldNotContain"&gt;ShouldNotContain&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="http://vstestingextensions.codeplex.com/wikipage?title=IEnumerableAssertions&amp;referringTitle=Documentation&amp;ANCHOR#ShouldHaveCountOf"&gt;ShouldHaveCountOf&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="http://vstestingextensions.codeplex.com/wikipage?title=IEnumerableAssertions&amp;referringTitle=Documentation&amp;ANCHOR#ShouldNotHaveCountOf"&gt;ShouldNotHaveCountOf&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="http://vstestingextensions.codeplex.com/wikipage?title=IEnumerableAssertions&amp;referringTitle=Documentation&amp;ANCHOR#ShouldHaveCountOfAtLeast"&gt;ShouldHaveCountOfAtLeast&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="http://vstestingextensions.codeplex.com/wikipage?title=IEnumerableAssertions&amp;referringTitle=Documentation&amp;ANCHOR#ShouldHaveCountOfAtMost"&gt;ShouldHaveCountOfAtMost&lt;/a&gt;&lt;/li&gt;&lt;/ul&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="http://vstestingextensions.codeplex.com/wikipage?title=ExceptionAssertions&amp;referringTitle=Documentation"&gt;Exceptions&lt;/a&gt;
&lt;ul&gt;&lt;li&gt;&lt;a href="http://vstestingextensions.codeplex.com/wikipage?title=ExceptionAssertions&amp;referringTitle=Documentation&amp;ANCHOR#ShouldThrowException"&gt;ShouldThrowException&lt;/a&gt;&lt;/li&gt;&lt;/ul&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="http://vstestingextensions.codeplex.com/wikipage?title=AssertHelper&amp;referringTitle=Documentation"&gt;AssertHelper&lt;/a&gt;
&lt;ul&gt;&lt;li&gt;&lt;a href="http://vstestingextensions.codeplex.com/wikipage?title=AssertHelper&amp;referringTitle=Documentation&amp;ANCHOR#AssertFailed"&gt;AssertFailed&lt;/a&gt;&lt;/li&gt;&lt;/ul&gt;&lt;/li&gt;&lt;/ul&gt;
&lt;/div&gt;&lt;div class="ClearBoth"&gt;&lt;/div&gt;</description><author>jeremiahclark</author><pubDate>Tue, 07 Feb 2012 16:37:24 GMT</pubDate><guid isPermaLink="false">Updated Wiki: Documentation 20120207043724P</guid></item><item><title>Source code checked in, #72226</title><link>http://vstestingextensions.codeplex.com/SourceControl/changeset/changes/72226</link><description>Branched Main to Releases&amp;#47;1.2.0.0 to maintain the 1.2.0.0 release state</description><author>jeremiahclark</author><pubDate>Tue, 07 Feb 2012 15:56:15 GMT</pubDate><guid isPermaLink="false">Source code checked in, #72226 20120207035615P</guid></item><item><title>Updated Release: Visual Studio Testing Extensions 1.2 (Feb 07, 2012)</title><link>http://vstestingextensions.codeplex.com/releases/view/81870</link><description>&lt;div class="wikidoc"&gt;This is the release version (1.2.0.0) of the SoftwareApproach.TestingExtensions library that enables readable unit testing assertions in Visual Studio.&lt;/div&gt;&lt;div class="ClearBoth"&gt;&lt;/div&gt;</description><author>JeremiahClark</author><pubDate>Tue, 07 Feb 2012 15:54:25 GMT</pubDate><guid isPermaLink="false">Updated Release: Visual Studio Testing Extensions 1.2 (Feb 07, 2012) 20120207035425P</guid></item><item><title>Released: Visual Studio Testing Extensions 1.2 (Feb 07, 2012)</title><link>http://vstestingextensions.codeplex.com/releases/view/81870</link><description>
&lt;div class="wikidoc"&gt;This is the release version (1.2.0.0) of the SoftwareApproach.TestingExtensions library that enables readable unit testing assertions in Visual Studio.&lt;/div&gt;
&lt;div&gt;&lt;/div&gt;
</description><author></author><pubDate>Tue, 07 Feb 2012 15:54:25 GMT</pubDate><guid isPermaLink="false">Released: Visual Studio Testing Extensions 1.2 (Feb 07, 2012) 20120207035425P</guid></item><item><title>Source code checked in, #72225</title><link>http://vstestingextensions.codeplex.com/SourceControl/changeset/changes/72225</link><description>Updating version to 1.2.0.0 for release </description><author>jeremiahclark</author><pubDate>Tue, 07 Feb 2012 15:45:45 GMT</pubDate><guid isPermaLink="false">Source code checked in, #72225 20120207034545P</guid></item><item><title>Source code checked in, #72224</title><link>http://vstestingextensions.codeplex.com/SourceControl/changeset/changes/72224</link><description>Added Type assertions to check for assignability</description><author>jeremiahclark</author><pubDate>Tue, 07 Feb 2012 15:43:42 GMT</pubDate><guid isPermaLink="false">Source code checked in, #72224 20120207034342P</guid></item><item><title>Source code checked in, #72223</title><link>http://vstestingextensions.codeplex.com/SourceControl/changeset/changes/72223</link><description>Added AssertHelper.AssertFailed method to allow the creation of custom assertions.</description><author>jeremiahclark</author><pubDate>Tue, 07 Feb 2012 15:20:51 GMT</pubDate><guid isPermaLink="false">Source code checked in, #72223 20120207032051P</guid></item><item><title>Updated Wiki: Home</title><link>http://vstestingextensions.codeplex.com/wikipage?version=19</link><description>&lt;div class="wikidoc"&gt;&lt;h2&gt;Project Description&lt;/h2&gt;The Visual Studio Testing Extensions is a library that exposes a set of extension methods to provide a way to write more readable unit tests in the Visual Studio Unit Testing environment.  It is developed in C&amp;#35; 4.0 and requires the .NET 4.0 runtime.&lt;br /&gt;
&lt;h2&gt;Latest News&lt;/h2&gt;&lt;b&gt;Now on NuGet:&lt;/b&gt; &lt;a href="http://nuget.org/List/Packages/VisualStudioTestingExtensions" class="externalLink"&gt;http://nuget.org/List/Packages/VisualStudioTestingExtensions&lt;span class="externalLinkIcon"&gt;&lt;/span&gt;&lt;/a&gt;&lt;br /&gt;
&lt;h2&gt;Documentation&lt;/h2&gt;Detailed documentation can be found here: &lt;a href="http://vstestingextensions.codeplex.com/documentation?referringTitle=Home"&gt;Documentation&lt;/a&gt; &lt;br /&gt;
&lt;h2&gt;Summary&lt;/h2&gt;This project was created to add to the basic assertions that unit testing in Visual Studio (VS) provides.  In VS, the way to do unit testing assertions is to write test code such as the following:&lt;br /&gt;&lt;br /&gt;&lt;div style="color:Black;background-color:White;"&gt;&lt;pre&gt;
[TestMethod]
&lt;span style="color:Blue;"&gt;public&lt;/span&gt; &lt;span style="color:Blue;"&gt;void&lt;/span&gt; OldWay_Test()
{
   &lt;span style="color:Blue;"&gt;int&lt;/span&gt; number = 5;
   Assert.AreEqual(number, 5);
   Assert.IsTrue(number &amp;gt; 4);
   Assert.IsTrue(number &amp;gt; -1);
}
&lt;/pre&gt;&lt;/div&gt;&lt;br /&gt;While this approach is sufficient for most cases, I was looking to provide a more readable way to write unit tests.  This library contains a number or extension methods that allow you to perform assertions using the following syntax:&lt;br /&gt;&lt;br /&gt;&lt;div style="color:Black;background-color:White;"&gt;&lt;pre&gt;
[TestMethod]
&lt;span style="color:Blue;"&gt;public&lt;/span&gt; &lt;span style="color:Blue;"&gt;void&lt;/span&gt; NewWay_Test()
{
   &lt;span style="color:Blue;"&gt;int&lt;/span&gt; number = 5;
   number.ShouldEqual(5);
   number.ShouldBeGreaterThan(4);
   number.ShouldBePositive();
}
&lt;/pre&gt;&lt;/div&gt;&lt;br /&gt;Another feature of this library is the ability to chain assertions.  Each assertion method returns the original source value, so the same test above can also be written the following way:&lt;br /&gt;&lt;br /&gt;&lt;div style="color:Black;background-color:White;"&gt;&lt;pre&gt;
[TestMethod]
&lt;span style="color:Blue;"&gt;public&lt;/span&gt; &lt;span style="color:Blue;"&gt;void&lt;/span&gt; NewWay_Test()
{
   &lt;span style="color:Blue;"&gt;int&lt;/span&gt; number = 5;
   number.ShouldEqual(5) 
      .ShouldBeGreaterThan(4)
      .ShouldBePositive();
}
&lt;/pre&gt;&lt;/div&gt;&lt;br /&gt;When an assertion fails, the failure notification is the same behavior that VS provides out of the box, displaying the assertion that caused the failure and the arguments associated with the assertion.&lt;br /&gt;&lt;br /&gt;The other feature that this library provides is the ability to assert multiple expected exceptions in a single test method, rather than being limited to one expected exception like VS provides.  You can provide the snippet to test for an exception via an Action() delegate.  An example of this is shown below:&lt;br /&gt;&lt;br /&gt;&lt;div style="color:Black;background-color:White;"&gt;&lt;pre&gt;
[TestMethod]
&lt;span style="color:Blue;"&gt;public&lt;/span&gt; &lt;span style="color:Blue;"&gt;void&lt;/span&gt; Testing_ExceptionsTest()
{
   &lt;span style="color:Blue;"&gt;int&lt;/span&gt; zero = 0;
   Testing.ShouldThrowException&amp;lt;DivideByZeroException&amp;gt;(() =&amp;gt; { &lt;span style="color:Blue;"&gt;int&lt;/span&gt; y = 15 / zero; });
   Testing.ShouldThrowException&amp;lt;ArgumentNullException&amp;gt;(() =&amp;gt; { &lt;span style="color:Blue;"&gt;throw&lt;/span&gt; &lt;span style="color:Blue;"&gt;new&lt;/span&gt; ArgumentNullException(); });
}
&lt;/pre&gt;&lt;/div&gt;&lt;br /&gt;The source release for this project contains a complete suite of unit tests to validate the expected functionality that the library provides.  In addition, the unit tests are a good example of the various extension methods that the library provides.&lt;br /&gt;&lt;br /&gt;If you are interested in contributing to this project, please let me know.  &lt;br /&gt;There will also be more information on the project available here: &lt;a href="http://blogs.msdn.com/miah" class="externalLink"&gt;http://blogs.msdn.com/miah&lt;span class="externalLinkIcon"&gt;&lt;/span&gt;&lt;/a&gt;&lt;br /&gt;Feel free to ask me questions also on &lt;a href="http://www.twitter.com/JeremiahClark" class="externalLink"&gt;Twitter&lt;span class="externalLinkIcon"&gt;&lt;/span&gt;&lt;/a&gt;&lt;/div&gt;&lt;div class="ClearBoth"&gt;&lt;/div&gt;</description><author>jeremiahclark</author><pubDate>Tue, 26 Jul 2011 19:43:47 GMT</pubDate><guid isPermaLink="false">Updated Wiki: Home 20110726074347P</guid></item><item><title>New Post: Prefix suggestion</title><link>http://vstestingextensions.codeplex.com/discussions/266117</link><description>&lt;div style="line-height: normal;"&gt;
&lt;p&gt;xUnit library have less or no prefix in methods.&lt;/p&gt;
&lt;p&gt;I like this way, it saves a lot of reduntante writing.&lt;/p&gt;
&lt;p&gt;Maybe this can be a valid suggestion?&lt;/p&gt;
&lt;p&gt;[]'s&lt;/p&gt;
&lt;/div&gt;</description><author>gblmarquez</author><pubDate>Thu, 21 Jul 2011 23:28:11 GMT</pubDate><guid isPermaLink="false">New Post: Prefix suggestion 20110721112811P</guid></item><item><title>New Post: On Nuget primary feed</title><link>http://vstestingextensions.codeplex.com/discussions/237293</link><description>&lt;div style="line-height: normal;"&gt;&lt;p&gt;@JeremiahClark, NuGet Package is not available, you must submit it again.&lt;/p&gt;
&lt;p&gt;Thanks for this projects.&lt;/p&gt;&lt;/div&gt;</description><author>gblmarquez</author><pubDate>Thu, 21 Jul 2011 23:24:31 GMT</pubDate><guid isPermaLink="false">New Post: On Nuget primary feed 20110721112431P</guid></item><item><title>Updated Wiki: Home</title><link>http://vstestingextensions.codeplex.com/wikipage?version=18</link><description>&lt;div class="wikidoc"&gt;&lt;h2&gt;Project Description&lt;/h2&gt;The Visual Studio Testing Extensions is a library that exposes a set of extension methods to provide a way to write more readable unit tests in the Visual Studio Unit Testing environment.  It is developed in C&amp;#35; 4.0 and requires the .NET 4.0 runtime.&lt;br /&gt;
&lt;h2&gt;Latest News&lt;/h2&gt;&lt;b&gt;Now on NuGet:&lt;/b&gt; &lt;a href="http://nuget.org/Packages/Packages/Details/VisualStudioTestingExtensions-1-1-0-0" class="externalLink"&gt;http://nuget.org/Packages/Packages/Details/VisualStudioTestingExtensions-1-1-0-0&lt;span class="externalLinkIcon"&gt;&lt;/span&gt;&lt;/a&gt;&lt;br /&gt;
&lt;h2&gt;Documentation&lt;/h2&gt;Detailed documentation can be found here: &lt;a href="http://vstestingextensions.codeplex.com/documentation?referringTitle=Home"&gt;Documentation&lt;/a&gt; &lt;br /&gt;
&lt;h2&gt;Summary&lt;/h2&gt;This project was created to add to the basic assertions that unit testing in Visual Studio (VS) provides.  In VS, the way to do unit testing assertions is to write test code such as the following:&lt;br /&gt;&lt;br /&gt;&lt;div style="color:Black;background-color:White;"&gt;&lt;pre&gt;
[TestMethod]
&lt;span style="color:Blue;"&gt;public&lt;/span&gt; &lt;span style="color:Blue;"&gt;void&lt;/span&gt; OldWay_Test()
{
   &lt;span style="color:Blue;"&gt;int&lt;/span&gt; number = 5;
   Assert.AreEqual(number, 5);
   Assert.IsTrue(number &amp;gt; 4);
   Assert.IsTrue(number &amp;gt; -1);
}
&lt;/pre&gt;&lt;/div&gt;&lt;br /&gt;While this approach is sufficient for most cases, I was looking to provide a more readable way to write unit tests.  This library contains a number or extension methods that allow you to perform assertions using the following syntax:&lt;br /&gt;&lt;br /&gt;&lt;div style="color:Black;background-color:White;"&gt;&lt;pre&gt;
[TestMethod]
&lt;span style="color:Blue;"&gt;public&lt;/span&gt; &lt;span style="color:Blue;"&gt;void&lt;/span&gt; NewWay_Test()
{
   &lt;span style="color:Blue;"&gt;int&lt;/span&gt; number = 5;
   number.ShouldEqual(5);
   number.ShouldBeGreaterThan(4);
   number.ShouldBePositive();
}
&lt;/pre&gt;&lt;/div&gt;&lt;br /&gt;Another feature of this library is the ability to chain assertions.  Each assertion method returns the original source value, so the same test above can also be written the following way:&lt;br /&gt;&lt;br /&gt;&lt;div style="color:Black;background-color:White;"&gt;&lt;pre&gt;
[TestMethod]
&lt;span style="color:Blue;"&gt;public&lt;/span&gt; &lt;span style="color:Blue;"&gt;void&lt;/span&gt; NewWay_Test()
{
   &lt;span style="color:Blue;"&gt;int&lt;/span&gt; number = 5;
   number.ShouldEqual(5) 
      .ShouldBeGreaterThan(4)
      .ShouldBePositive();
}
&lt;/pre&gt;&lt;/div&gt;&lt;br /&gt;When an assertion fails, the failure notification is the same behavior that VS provides out of the box, displaying the assertion that caused the failure and the arguments associated with the assertion.&lt;br /&gt;&lt;br /&gt;The other feature that this library provides is the ability to assert multiple expected exceptions in a single test method, rather than being limited to one expected exception like VS provides.  You can provide the snippet to test for an exception via an Action() delegate.  An example of this is shown below:&lt;br /&gt;&lt;br /&gt;&lt;div style="color:Black;background-color:White;"&gt;&lt;pre&gt;
[TestMethod]
&lt;span style="color:Blue;"&gt;public&lt;/span&gt; &lt;span style="color:Blue;"&gt;void&lt;/span&gt; Testing_ExceptionsTest()
{
   &lt;span style="color:Blue;"&gt;int&lt;/span&gt; zero = 0;
   Testing.ShouldThrowException&amp;lt;DivideByZeroException&amp;gt;(() =&amp;gt; { &lt;span style="color:Blue;"&gt;int&lt;/span&gt; y = 15 / zero; });
   Testing.ShouldThrowException&amp;lt;ArgumentNullException&amp;gt;(() =&amp;gt; { &lt;span style="color:Blue;"&gt;throw&lt;/span&gt; &lt;span style="color:Blue;"&gt;new&lt;/span&gt; ArgumentNullException(); });
}
&lt;/pre&gt;&lt;/div&gt;&lt;br /&gt;The source release for this project contains a complete suite of unit tests to validate the expected functionality that the library provides.  In addition, the unit tests are a good example of the various extension methods that the library provides.&lt;br /&gt;&lt;br /&gt;If you are interested in contributing to this project, please let me know.  &lt;br /&gt;There will also be more information on the project available here: &lt;a href="http://blogs.msdn.com/miah" class="externalLink"&gt;http://blogs.msdn.com/miah&lt;span class="externalLinkIcon"&gt;&lt;/span&gt;&lt;/a&gt;&lt;br /&gt;Feel free to ask me questions also on &lt;a href="http://www.twitter.com/JeremiahClark" class="externalLink"&gt;Twitter&lt;span class="externalLinkIcon"&gt;&lt;/span&gt;&lt;/a&gt;&lt;/div&gt;&lt;div class="ClearBoth"&gt;&lt;/div&gt;</description><author>jeremiahclark</author><pubDate>Tue, 22 Feb 2011 20:51:21 GMT</pubDate><guid isPermaLink="false">Updated Wiki: Home 20110222085121P</guid></item><item><title>New Post: On Nuget primary feed</title><link>http://vstestingextensions.codeplex.com/Thread/View.aspx?ThreadId=237293</link><description>&lt;div style="line-height: normal;"&gt;
&lt;p&gt;Thanks for the suggestion. Version 1.1.0.0 is now on the NuGet feed!&lt;/p&gt;
&lt;/div&gt;</description><author>JeremiahClark</author><pubDate>Thu, 20 Jan 2011 19:38:47 GMT</pubDate><guid isPermaLink="false">New Post: On Nuget primary feed 20110120073847P</guid></item><item><title>Updated Wiki: Home</title><link>http://vstestingextensions.codeplex.com/wikipage?version=17</link><description>&lt;div class="wikidoc"&gt;&lt;h2&gt;Project Description&lt;/h2&gt;The Visual Studio Testing Extensions is a library that exposes a set of extension methods to provide a way to write more readable unit tests in the Visual Studio Unit Testing environment.  It is developed in C&amp;#35; 4.0 and requires the .NET 4.0 runtime.&lt;br /&gt;
&lt;h2&gt;Latest News&lt;/h2&gt;&lt;b&gt;Now on NuGet:&lt;/b&gt; &lt;a href="http://nuget.org/Packages/Packages/Details/Visual-Studio-Testing-Extensions-1-1-0-0" class="externalLink"&gt;http://nuget.org/Packages/Packages/Details/Visual-Studio-Testing-Extensions-1-1-0-0&lt;span class="externalLinkIcon"&gt;&lt;/span&gt;&lt;/a&gt;&lt;br /&gt;
&lt;h2&gt;Documentation&lt;/h2&gt;Detailed documentation can be found here: &lt;a href="http://vstestingextensions.codeplex.com/documentation?referringTitle=Home"&gt;Documentation&lt;/a&gt; &lt;br /&gt;
&lt;h2&gt;Summary&lt;/h2&gt;This project was created to add to the basic assertions that unit testing in Visual Studio (VS) provides.  In VS, the way to do unit testing assertions is to write test code such as the following:&lt;br /&gt;&lt;br /&gt;&lt;div style="color:Black;background-color:White;"&gt;&lt;pre&gt;
[TestMethod]
&lt;span style="color:Blue;"&gt;public&lt;/span&gt; &lt;span style="color:Blue;"&gt;void&lt;/span&gt; OldWay_Test()
{
   &lt;span style="color:Blue;"&gt;int&lt;/span&gt; number = 5;
   Assert.AreEqual(number, 5);
   Assert.IsTrue(number &amp;gt; 4);
   Assert.IsTrue(number &amp;gt; -1);
}
&lt;/pre&gt;&lt;/div&gt;&lt;br /&gt;While this approach is sufficient for most cases, I was looking to provide a more readable way to write unit tests.  This library contains a number or extension methods that allow you to perform assertions using the following syntax:&lt;br /&gt;&lt;br /&gt;&lt;div style="color:Black;background-color:White;"&gt;&lt;pre&gt;
[TestMethod]
&lt;span style="color:Blue;"&gt;public&lt;/span&gt; &lt;span style="color:Blue;"&gt;void&lt;/span&gt; NewWay_Test()
{
   &lt;span style="color:Blue;"&gt;int&lt;/span&gt; number = 5;
   number.ShouldEqual(5);
   number.ShouldBeGreaterThan(4);
   number.ShouldBePositive();
}
&lt;/pre&gt;&lt;/div&gt;&lt;br /&gt;Another feature of this library is the ability to chain assertions.  Each assertion method returns the original source value, so the same test above can also be written the following way:&lt;br /&gt;&lt;br /&gt;&lt;div style="color:Black;background-color:White;"&gt;&lt;pre&gt;
[TestMethod]
&lt;span style="color:Blue;"&gt;public&lt;/span&gt; &lt;span style="color:Blue;"&gt;void&lt;/span&gt; NewWay_Test()
{
   &lt;span style="color:Blue;"&gt;int&lt;/span&gt; number = 5;
   number.ShouldEqual(5) 
      .ShouldBeGreaterThan(4)
      .ShouldBePositive();
}
&lt;/pre&gt;&lt;/div&gt;&lt;br /&gt;When an assertion fails, the failure notification is the same behavior that VS provides out of the box, displaying the assertion that caused the failure and the arguments associated with the assertion.&lt;br /&gt;&lt;br /&gt;The other feature that this library provides is the ability to assert multiple expected exceptions in a single test method, rather than being limited to one expected exception like VS provides.  You can provide the snippet to test for an exception via an Action() delegate.  An example of this is shown below:&lt;br /&gt;&lt;br /&gt;&lt;div style="color:Black;background-color:White;"&gt;&lt;pre&gt;
[TestMethod]
&lt;span style="color:Blue;"&gt;public&lt;/span&gt; &lt;span style="color:Blue;"&gt;void&lt;/span&gt; Testing_ExceptionsTest()
{
   &lt;span style="color:Blue;"&gt;int&lt;/span&gt; zero = 0;
   Testing.ShouldThrowException&amp;lt;DivideByZeroException&amp;gt;(() =&amp;gt; { &lt;span style="color:Blue;"&gt;int&lt;/span&gt; y = 15 / zero; });
   Testing.ShouldThrowException&amp;lt;ArgumentNullException&amp;gt;(() =&amp;gt; { &lt;span style="color:Blue;"&gt;throw&lt;/span&gt; &lt;span style="color:Blue;"&gt;new&lt;/span&gt; ArgumentNullException(); });
}
&lt;/pre&gt;&lt;/div&gt;&lt;br /&gt;The source release for this project contains a complete suite of unit tests to validate the expected functionality that the library provides.  In addition, the unit tests are a good example of the various extension methods that the library provides.&lt;br /&gt;&lt;br /&gt;If you are interested in contributing to this project, please let me know.  &lt;br /&gt;There will also be more information on the project available here: &lt;a href="http://blogs.msdn.com/miah" class="externalLink"&gt;http://blogs.msdn.com/miah&lt;span class="externalLinkIcon"&gt;&lt;/span&gt;&lt;/a&gt;&lt;br /&gt;Feel free to ask me questions also on &lt;a href="http://www.twitter.com/JeremiahClark" class="externalLink"&gt;Twitter&lt;span class="externalLinkIcon"&gt;&lt;/span&gt;&lt;/a&gt;&lt;/div&gt;&lt;div class="ClearBoth"&gt;&lt;/div&gt;</description><author>jeremiahclark</author><pubDate>Thu, 20 Jan 2011 19:37:26 GMT</pubDate><guid isPermaLink="false">Updated Wiki: Home 20110120073726P</guid></item><item><title>New Post: StackTrace</title><link>http://vstestingextensions.codeplex.com/Thread/View.aspx?ThreadId=241541</link><description>&lt;div style="line-height: normal;"&gt;
&lt;p&gt;I have modified the code to remove stack traces lines from&amp;nbsp;SoftwareApproach.TestingExtensions. What do you think?&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;div style="color:black; background-color:white"&gt;
&lt;pre&gt;        &lt;span style="color:blue"&gt;internal&lt;/span&gt; &lt;span style="color:blue"&gt;static&lt;/span&gt; &lt;span style="color:blue"&gt;void&lt;/span&gt; HandleFail(&lt;span style="color:blue"&gt;string&lt;/span&gt; assertionName, &lt;span style="color:blue"&gt;string&lt;/span&gt; message, &lt;span style="color:blue"&gt;params&lt;/span&gt; &lt;span style="color:blue"&gt;object&lt;/span&gt;[] parameters)
        {
            &lt;span style="color:blue"&gt;var&lt;/span&gt; exp = &lt;span style="color:blue"&gt;new&lt;/span&gt; AssertFailedMinialStackTraceException(&lt;span style="color:blue"&gt;string&lt;/span&gt;.Format(&lt;span style="color:#a31515"&gt;&amp;quot;{0} failed. {1}&amp;quot;&lt;/span&gt;, assertionName, message));
            exp.StackTraceFilter = a =&amp;gt; !a.Contains(&lt;span style="color:#a31515"&gt;&amp;quot;SoftwareApproach.TestingExtensions.&amp;quot;&lt;/span&gt;);
            &lt;span style="color:blue"&gt;throw&lt;/span&gt; exp;
        }
&lt;/pre&gt;
&lt;/div&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;And the Exception&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;div style="color:black; background-color:white"&gt;
&lt;pre&gt;&lt;span style="color:blue"&gt;public&lt;/span&gt; &lt;span style="color:blue"&gt;class&lt;/span&gt; AssertFailedMinialStackTraceException : AssertFailedException
    {
        &lt;span style="color:blue"&gt;public&lt;/span&gt; AssertFailedMinialStackTraceException(&lt;span style="color:blue"&gt;string&lt;/span&gt; msg, Exception ex)
            : &lt;span style="color:blue"&gt;base&lt;/span&gt;(msg, ex)
        {
        }

        &lt;span style="color:blue"&gt;public&lt;/span&gt; AssertFailedMinialStackTraceException(&lt;span style="color:blue"&gt;string&lt;/span&gt; msg)
            : &lt;span style="color:blue"&gt;base&lt;/span&gt;(msg)
        {
        }

        &lt;span style="color:blue"&gt;public&lt;/span&gt; AssertFailedMinialStackTraceException()
        {
        }

        &lt;span style="color:blue"&gt;protected&lt;/span&gt; AssertFailedMinialStackTraceException(SerializationInfo info, StreamingContext context)
            : &lt;span style="color:blue"&gt;base&lt;/span&gt;(info, context)
        {
        }

        &lt;span style="color:blue"&gt;public&lt;/span&gt; Func&amp;lt;String, &lt;span style="color:blue"&gt;bool&lt;/span&gt;&amp;gt; StackTraceFilter { &lt;span style="color:blue"&gt;get&lt;/span&gt;; &lt;span style="color:blue"&gt;set&lt;/span&gt;; }
        &lt;span style="color:blue"&gt;private&lt;/span&gt; &lt;span style="color:blue"&gt;string&lt;/span&gt; filteredStackTrace;
        &lt;span style="color:blue"&gt;public&lt;/span&gt; &lt;span style="color:blue"&gt;override&lt;/span&gt; &lt;span style="color:blue"&gt;string&lt;/span&gt; StackTrace
        {
            &lt;span style="color:blue"&gt;get&lt;/span&gt;
            {
                &lt;span style="color:blue"&gt;if&lt;/span&gt; (filteredStackTrace != &lt;span style="color:blue"&gt;null&lt;/span&gt;)
                    &lt;span style="color:blue"&gt;return&lt;/span&gt; filteredStackTrace;
                &lt;span style="color:blue"&gt;var&lt;/span&gt; before = &lt;span style="color:blue"&gt;base&lt;/span&gt;.StackTrace;
                &lt;span style="color:blue"&gt;var&lt;/span&gt; parts = before.Split(&lt;span style="color:#a31515"&gt;'\n'&lt;/span&gt;);
                &lt;span style="color:blue"&gt;var&lt;/span&gt; filtered = parts
                    .Where(a =&amp;gt; !&lt;span style="color:blue"&gt;string&lt;/span&gt;.IsNullOrEmpty(a))
                    .Where(StackTraceFilter);
                &lt;span style="color:blue"&gt;var&lt;/span&gt; after = String.Join(&lt;span style="color:#a31515"&gt;&amp;quot;\r\n&amp;quot;&lt;/span&gt;, filtered.ToArray());
                filteredStackTrace = after;
                &lt;span style="color:blue"&gt;return&lt;/span&gt; filteredStackTrace;
            }
        }
    }
&lt;/pre&gt;
&lt;/div&gt;
&lt;p&gt;&lt;/p&gt;
&lt;/div&gt;</description><author>iainxt</author><pubDate>Thu, 13 Jan 2011 02:31:40 GMT</pubDate><guid isPermaLink="false">New Post: StackTrace 20110113023140A</guid></item><item><title>New Post: Feature Solicitation</title><link>http://vstestingextensions.codeplex.com/Thread/View.aspx?ThreadId=46132</link><description>&lt;div style="line-height: normal;"&gt;
&lt;p&gt;&amp;#43;1 for IEnumerable.&lt;/p&gt;
&lt;p&gt;And its not that hard, just change ICollection to IEnumerable, and use Count(). It worked for me :o)&lt;/p&gt;
&lt;/div&gt;</description><author>iainxt</author><pubDate>Thu, 13 Jan 2011 02:27:53 GMT</pubDate><guid isPermaLink="false">New Post: Feature Solicitation 20110113022753A</guid></item></channel></rss>
