<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:trackback="http://madskills.com/public/xml/rss/module/trackback/" xmlns:wfw="http://wellformedweb.org/CommentAPI/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/"><channel><title>NUnit - Unit Testing</title><link>http://davidhayden.com/blog/dave/category/23.aspx</link><description>NUnit - Unit Testing</description><managingEditor>Dave Hayden</managingEditor><dc:language>en-US</dc:language><generator>.Text Version 0.95.2004.101</generator><item><dc:creator>Dave Hayden</dc:creator><title>NUnit Gets MbUnit's RowTest - Test-Driven Development and Unit Testing Excitement</title><link>http://davidhayden.com/blog/dave/archive/2007/12/21/NUnitGetsMbUnitsRowTestTestDrivenDevelopmentUnitTestingExcitement.aspx</link><pubDate>Fri, 21 Dec 2007 17:20:00 GMT</pubDate><guid>http://davidhayden.com/blog/dave/archive/2007/12/21/NUnitGetsMbUnitsRowTestTestDrivenDevelopmentUnitTestingExcitement.aspx</guid><description>&lt;H1&gt;&lt;FONT face=Verdana&gt;NUnit Gets MBUnit's RowTest - Test-Driven Development and Unit Testing Excitement&lt;/FONT&gt;&lt;/H1&gt;
&lt;P&gt;&lt;FONT face=Verdana size=2&gt;by &lt;/FONT&gt;&lt;A href="http://www.davidhayden.com/"&gt;&lt;FONT face=Verdana size=2&gt;David Hayden&lt;/FONT&gt;&lt;/A&gt;&lt;FONT face=Verdana size=2&gt; ( &lt;/FONT&gt;&lt;A href="http://www.davidhayden.com/"&gt;&lt;FONT face=Verdana size=2&gt;Florida ASP.NET Developer&lt;/FONT&gt;&lt;/A&gt;&lt;FONT face=Verdana size=2&gt; ), Filed: &lt;/FONT&gt;&lt;A href="http://davidhayden.com/blog/dave/category/23.aspx?Show=All"&gt;&lt;FONT face=Verdana size=2&gt;Unit Testing&lt;/FONT&gt;&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face=Verdana size=2&gt;&lt;/FONT&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;FONT face=Verdana size=2&gt;I am a huge fan of MbUnit's &lt;STRONG&gt;RowTest&lt;/STRONG&gt;, which allows you to parameterize a unit test and run it for multiple values. This essentially saves you from having to write several boring unit tests to test the same functionality using different values. Anything to&amp;nbsp;get out of writing one less unit test :)&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face=Verdana size=2&gt;NUnit has never had the RowTest Functionality, which has been a real downer when I needed to use NUnit. However, Jamie Cansdale &lt;/FONT&gt;&lt;A href="http://weblogs.asp.net/nunitaddin/archive/2007/12/17/testdriven-net-2-11-parameterized-nunit-tests.aspx" target=_blank&gt;&lt;FONT face=Verdana size=2&gt;recently blogged&lt;/FONT&gt;&lt;/A&gt;&lt;FONT face=Verdana size=2&gt; that there is an &lt;/FONT&gt;&lt;A href="http://www.andreas-schlapsi.com/2007/08/17/rowtests-with-nunit-24/" target=_blank&gt;&lt;FONT face=Verdana size=2&gt;NUnit AddIn developed by Andreas Schlapsi&lt;/FONT&gt;&lt;/A&gt;&lt;FONT face=Verdana size=2&gt;, called &lt;STRONG&gt;RowTest Extension for NUnit&lt;/STRONG&gt;,&amp;nbsp;that provides RowTest Functionality to NUnit. Wow! I needed that a long time ago.&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face=Verdana size=2&gt;Today I added the RowTest Extension for NUnit by creating a new &lt;STRONG&gt;addins&lt;/STRONG&gt; folder within the&amp;nbsp;NUnit directory and adding the &lt;STRONG&gt;NUnitExtension.RowTest.AddIn.dll&lt;/STRONG&gt; to the folder:&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face=Verdana size=2&gt;&lt;/FONT&gt;&amp;nbsp;&lt;/P&gt;
&lt;P align=center&gt;&lt;FONT face=Verdana size=2&gt;&lt;IMG alt="NUnit RowTest" src="/photos/nunitrowtest.jpg"&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face=Verdana size=2&gt;&lt;/FONT&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;FONT face=Verdana size=2&gt;Reference the assembly, &lt;STRONG&gt;NUnitExtension.RowTest.dll&lt;/STRONG&gt;, in your test project and appreciate the wonders of RowTest Functionality in your NUnit Tests:&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;&lt;SPAN style="COLOR: #000000"&gt;[&lt;FONT color=#0000ff&gt;RowTest&lt;/FONT&gt;]
[&lt;FONT color=#0000ff&gt;Row&lt;/FONT&gt;(&lt;/SPAN&gt;&lt;SPAN style="COLOR: #ff0000"&gt;1&lt;/SPAN&gt;&lt;SPAN style="COLOR: #000000"&gt;, &lt;/SPAN&gt;&lt;SPAN style="COLOR: #ff0000"&gt;2&lt;/SPAN&gt;&lt;SPAN style="COLOR: #000000"&gt;, &lt;/SPAN&gt;&lt;SPAN style="COLOR: #ff0000"&gt;3&lt;/SPAN&gt;&lt;SPAN style="COLOR: #000000"&gt;)]
[&lt;FONT color=#0000ff&gt;Row&lt;/FONT&gt;(&lt;/SPAN&gt;&lt;SPAN style="COLOR: #ff0000"&gt;3&lt;/SPAN&gt;&lt;SPAN style="COLOR: #000000"&gt;, &lt;/SPAN&gt;&lt;SPAN style="COLOR: #ff0000"&gt;4&lt;/SPAN&gt;&lt;SPAN style="COLOR: #000000"&gt;, &lt;/SPAN&gt;&lt;SPAN style="COLOR: #ff0000"&gt;7&lt;/SPAN&gt;&lt;SPAN style="COLOR: #000000"&gt;)]
&lt;/SPAN&gt;&lt;SPAN style="COLOR: #0000ff"&gt;public&lt;/SPAN&gt;&lt;SPAN style="COLOR: #000000"&gt; &lt;/SPAN&gt;&lt;SPAN style="COLOR: #0000ff"&gt;void&lt;/SPAN&gt;&lt;SPAN style="COLOR: #000000"&gt; CanAddProperly(&lt;/SPAN&gt;&lt;SPAN style="COLOR: #0000ff"&gt;int&lt;/SPAN&gt;&lt;SPAN style="COLOR: #000000"&gt; a, &lt;/SPAN&gt;&lt;SPAN style="COLOR: #0000ff"&gt;int&lt;/SPAN&gt;&lt;SPAN style="COLOR: #000000"&gt; b, &lt;/SPAN&gt;&lt;SPAN style="COLOR: #0000ff"&gt;int&lt;/SPAN&gt;&lt;SPAN style="COLOR: #000000"&gt; c)
{
    &lt;FONT color=#0000ff&gt;Assert&lt;/FONT&gt;.AreEqual(a &lt;/SPAN&gt;&lt;SPAN style="COLOR: #000000"&gt;+&lt;/SPAN&gt;&lt;SPAN style="COLOR: #000000"&gt; b, c);
}&lt;/SPAN&gt;&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;FONT face=Verdana size=2&gt;Learn more about&amp;nbsp;the NUnit RowTest Extension&amp;nbsp;&lt;/FONT&gt;&lt;A href="http://www.andreas-schlapsi.com/2007/08/17/rowtests-with-nunit-24/" target=_blank&gt;&lt;FONT face=Verdana size=2&gt;here&lt;/FONT&gt;&lt;/A&gt;&lt;FONT face=Verdana size=2&gt;.&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face=Verdana size=2&gt;Cool Stuff!&lt;/FONT&gt;&lt;/P&gt;
&lt;H2&gt;&lt;FONT face=Verdana&gt;Recent Unit Testing Related Posts&lt;/FONT&gt;&lt;/H2&gt;
&lt;UL&gt;
&lt;LI&gt;&lt;A href="http://www.pnpguidance.net/Post/xUnitnetRC1Released.aspx"&gt;&lt;FONT face=Verdana size=2&gt;xUnit.net RC1 Released&lt;/FONT&gt;&lt;/A&gt; 
&lt;LI&gt;&lt;A href="http://davidhayden.com/blog/dave/archive/2007/09/22/ComparingNUnitMbUnitMSTestxUnitnet.aspx"&gt;&lt;FONT face=Verdana size=2&gt;Comparing NUnit MbUnit MSTest and xUnit.net&lt;/FONT&gt;&lt;/A&gt; 
&lt;LI&gt;&lt;A href="http://davidhayden.com/blog/dave/archive/2006/08/30/TestDrivenUnitTestingAddIn.aspx"&gt;&lt;FONT face=Verdana color=#0000ff size=2&gt;TestDriven.NET - Unit Testing Add-In for Visual Studio&lt;/FONT&gt;&lt;/A&gt;&lt;/LI&gt;&lt;/UL&gt;
&lt;P&gt;&lt;FONT face=Verdana size=2&gt;&lt;/FONT&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;FONT face=Verdana size=2&gt;News Feed: &lt;/FONT&gt;&lt;A href="http://www.davidhayden.com/"&gt;&lt;FONT face=Verdana size=2&gt;David Hayden&lt;/FONT&gt;&lt;/A&gt;&lt;FONT face=Verdana size=2&gt; ( &lt;/FONT&gt;&lt;A href="http://www.davidhayden.com/"&gt;&lt;FONT face=Verdana size=2&gt;Florida ASP.NET Developer&lt;/FONT&gt;&lt;/A&gt;&lt;FONT face=Verdana size=2&gt; )&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face=Verdana size=2&gt;Filed: &lt;/FONT&gt;&lt;A href="http://davidhayden.com/blog/dave/category/23.aspx?Show=All"&gt;&lt;FONT face=Verdana size=2&gt;Unit Testing&lt;/FONT&gt;&lt;/A&gt;&lt;/P&gt;&lt;img src ="http://davidhayden.com/blog/dave/aggbug/3416.aspx" width = "1" height = "1" /&gt;</description></item><item><dc:creator>Dave Hayden</dc:creator><title>Comparing NUnit MbUnit MSTest and xUnit.net</title><link>http://davidhayden.com/blog/dave/archive/2007/09/22/ComparingNUnitMbUnitMSTestxUnitnet.aspx</link><pubDate>Sat, 22 Sep 2007 20:22:00 GMT</pubDate><guid>http://davidhayden.com/blog/dave/archive/2007/09/22/ComparingNUnitMbUnitMSTestxUnitnet.aspx</guid><description>&lt;H1&gt;&lt;FONT face=Verdana&gt;Comparing NUnit MbUnit MSTest and xUnit.net&lt;/FONT&gt;&lt;/H1&gt;
&lt;P&gt;&lt;FONT face=Verdana size=2&gt;Source: &lt;/FONT&gt;&lt;A href="http://www.davidhayden.com/"&gt;&lt;FONT face=Verdana size=2&gt;David Hayden&lt;/FONT&gt;&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face=Verdana size=2&gt;&lt;/FONT&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;FONT face=Verdana size=2&gt;I am a happy MbUnit user because it has some cool productive features not in NUnit and always seems to have good momentum behind it. With &lt;A href="http://davidhayden.com/blog/dave/archive/2007/09/20/xUnitnetNewUnitTestingFrameworkNUnit.aspx"&gt;xUnit.net being announced&lt;/A&gt;, however, you may be looking for a good comparison of the popular unit testing frameworks. You can find a comparison &lt;/FONT&gt;&lt;A href="http://www.codeplex.com/xunit/Wiki/View.aspx?title=Comparisons" target=_blank&gt;&lt;FONT face=Verdana size=2&gt;here&lt;/FONT&gt;&lt;/A&gt;&lt;FONT face=Verdana size=2&gt;.&lt;/FONT&gt;&lt;/P&gt;&lt;img src ="http://davidhayden.com/blog/dave/aggbug/3340.aspx" width = "1" height = "1" /&gt;</description></item><item><dc:creator>Dave Hayden</dc:creator><title>TestDriven.NET - Unit Testing Add-In for Visual Studio</title><link>http://davidhayden.com/blog/dave/archive/2006/08/30/TestDrivenUnitTestingAddIn.aspx</link><pubDate>Wed, 30 Aug 2006 19:04:00 GMT</pubDate><guid>http://davidhayden.com/blog/dave/archive/2006/08/30/TestDrivenUnitTestingAddIn.aspx</guid><description>&lt;P&gt;&lt;A href="http://davidhayden.com/blog/dave/archive/2006/08/30/ReSharperUnitTestRunner.aspx"&gt;&lt;FONT face=Verdana size=2&gt;Speaking of running unit tests within Visual Studio&lt;/FONT&gt;&lt;/A&gt;&lt;FONT face=Verdana size=2&gt;, Jamie Cansdale continues to amaze and improve upon TestDriven.NET. He just released TestDriven.NET-2.0.1761 RC1, which according to &lt;/FONT&gt;&lt;A href="http://weblogs.asp.net/nunitaddin/archive/2006/08/30/TestDriven.NET-2.0.1761-_2D00_-RC1.aspx" target=_blank&gt;&lt;FONT face=Verdana size=2&gt;his post&lt;/FONT&gt;&lt;/A&gt;&lt;FONT face=Verdana size=2&gt;&amp;nbsp;is quite stable and available for download.&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face=Verdana size=2&gt;If you don't require all the features of ReSharper and want the ability to run unit tests within Visual Studio, TestDriven.NET&amp;nbsp;is a great&amp;nbsp;tool. Some of the features:&lt;/FONT&gt;&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;&lt;FONT face=Verdana size=2&gt;Run unit tests within any method, class, source file, namespace, project or solution with a single-click.&lt;/FONT&gt;&lt;/LI&gt;
&lt;LI&gt;&lt;FONT face=Verdana size=2&gt;TestDriven.NET is the only add-in to work with all versions of Visual Studio .NET.&lt;/FONT&gt;&lt;/LI&gt;
&lt;LI&gt;&lt;FONT face=Verdana size=2&gt;Supports multiple unit testing frameworks including NUnit, MbUnit and MS Team System.&lt;/FONT&gt;&lt;/LI&gt;
&lt;LI&gt;&lt;FONT face=Verdana size=2&gt;Runs in its own process for side-effect free testing.&lt;/FONT&gt;&lt;/LI&gt;
&lt;LI&gt;&lt;FONT face=Verdana size=2&gt;Allows you to easily debug tests or methods&lt;/FONT&gt;&lt;/LI&gt;
&lt;LI&gt;&lt;FONT face=Verdana size=2&gt;Supports all major .NET languages (C#, VB, C++ and J#).&lt;/FONT&gt;&lt;/LI&gt;
&lt;LI&gt;&lt;FONT face=Verdana size=2&gt;Provides support for Pseudo Categories&lt;/FONT&gt;&lt;/LI&gt;
&lt;LI&gt;&lt;FONT face=Verdana size=2&gt;Execute any method as an ad-hoc test&lt;/FONT&gt;&lt;/LI&gt;
&lt;LI&gt;&lt;FONT face=Verdana size=2&gt;Plus much, much more.&lt;/FONT&gt;&lt;/LI&gt;&lt;/UL&gt;
&lt;P&gt;&lt;FONT face=Verdana size=2&gt;Check out &lt;/FONT&gt;&lt;A href="http://weblogs.asp.net/nunitaddin/archive/2006/08/30/TestDriven.NET-2.0.1761-_2D00_-RC1.aspx" target=_blank&gt;&lt;FONT face=Verdana size=2&gt;Jamie's post&lt;/FONT&gt;&lt;/A&gt;&lt;FONT face=Verdana size=2&gt;.&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face=Verdana size=2&gt;Source: &lt;/FONT&gt;&lt;A href="http://www.davidhayden.com/"&gt;&lt;FONT face=Verdana size=2&gt;David Hayden&lt;/FONT&gt;&lt;/A&gt;&lt;FONT face=Verdana size=2&gt; ( &lt;/FONT&gt;&lt;A href="http://www.davidhayden.com/"&gt;&lt;FONT face=Verdana size=2&gt;Florida ASP.NET Developer&lt;/FONT&gt;&lt;/A&gt;&lt;FONT face=Verdana size=2&gt; )&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face=Verdana size=2&gt;Filed: &lt;/FONT&gt;&lt;A href="http://davidhayden.com/blog/dave/category/10.aspx?Show=All"&gt;&lt;FONT face=Verdana size=2&gt;.NET Tools&lt;/FONT&gt;&lt;/A&gt;&lt;FONT face=Verdana size=2&gt;, &lt;/FONT&gt;&lt;A href="http://davidhayden.com/blog/dave/category/23.aspx?Show=All"&gt;&lt;FONT face=Verdana size=2&gt;Unit Testing&lt;/FONT&gt;&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face=Verdana size=2&gt;&lt;/FONT&gt;&amp;nbsp;&lt;/P&gt;&lt;img src ="http://davidhayden.com/blog/dave/aggbug/3025.aspx" width = "1" height = "1" /&gt;</description></item><item><dc:creator>Dave Hayden</dc:creator><title>ReSharper 2.0.1 Update and Unit Testing - Visual Studio Test Runner</title><link>http://davidhayden.com/blog/dave/archive/2006/08/30/ReSharperUnitTestRunner.aspx</link><pubDate>Wed, 30 Aug 2006 18:45:00 GMT</pubDate><guid>http://davidhayden.com/blog/dave/archive/2006/08/30/ReSharperUnitTestRunner.aspx</guid><description>&lt;P&gt;&lt;FONT face=Verdana size=2&gt;There is an update to &lt;A href="http://www.jetbrains.com/resharper/"&gt;ReSharper&lt;/A&gt; that fixes a number of bug fixes as well as contains some performance improvements. I might be dreaming, but the new version ( 2.0.1 ) feels faster.&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face=Verdana size=2&gt;One of the new features of ReSharper 2.0 that I hadn't used and started using today is the new unit test runner. Here is a snapshot from their website:&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face=Verdana size=2&gt;&lt;/FONT&gt;&amp;nbsp;&lt;/P&gt;
&lt;P align=center&gt;&lt;FONT face=Verdana size=2&gt;&lt;IMG title="Resharper Unit Test Runner" alt="Resharper Unit Test Runner" src="http://www.davidhayden.com/photos/resharpertestrunner.gif" P &lt;&gt; &lt;/FONT&gt;
&lt;P&gt;&lt;FONT face=Verdana size=2&gt;&lt;/FONT&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;FONT face=Verdana size=2&gt;I have to say I&amp;nbsp;love the new unit test runner. ReSharper automatically detects test fixtures and individual&amp;nbsp;tests in your code allowing you to easily run them from context sensitive menus in the editor. You can also&amp;nbsp;profile the tests with dotTrace Profiler. Very slick.&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face=Verdana size=2&gt;You can learn more about the ReSharper Unit Test Runner &lt;/FONT&gt;&lt;A href="http://www.jetbrains.com/resharper/features/unitTesting.html" target=_blank&gt;&lt;FONT face=Verdana size=2&gt;here&lt;/FONT&gt;&lt;/A&gt;&lt;FONT face=Verdana size=2&gt;.&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face=Verdana size=2&gt;Source: &lt;/FONT&gt;&lt;A href="http://www.davidhayden.com/"&gt;&lt;FONT face=Verdana size=2&gt;David Hayden&lt;/FONT&gt;&lt;/A&gt;&lt;FONT face=Verdana size=2&gt; ( &lt;/FONT&gt;&lt;A href="http://www.davidhayden.com/"&gt;&lt;FONT face=Verdana size=2&gt;Florida .NET Developer&lt;/FONT&gt;&lt;/A&gt;&lt;FONT face=Verdana size=2&gt; )&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face=Verdana size=2&gt;Filed: &lt;/FONT&gt;&lt;A href="http://davidhayden.com/blog/dave/category/10.aspx?Show=All"&gt;&lt;FONT face=Verdana size=2&gt;.NET Tools&lt;/FONT&gt;&lt;/A&gt;&lt;FONT face=Verdana size=2&gt;, &lt;/FONT&gt;&lt;A href="http://davidhayden.com/blog/dave/category/23.aspx?Show=All"&gt;&lt;FONT face=Verdana size=2&gt;Unit Testing&lt;/FONT&gt;&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face=Verdana size=2&gt;&lt;/FONT&gt;&amp;nbsp;&lt;/P&gt;&lt;img src ="http://davidhayden.com/blog/dave/aggbug/3024.aspx" width = "1" height = "1" /&gt;</description></item><item><dc:creator>Dave Hayden</dc:creator><title>Free Unit Test Framework and Code Coverage for Visual Studio.NET - TestDriven.NET and Code Coverage via NCover</title><link>http://davidhayden.com/blog/dave/archive/2006/01/30/2779.aspx</link><pubDate>Mon, 30 Jan 2006 20:18:00 GMT</pubDate><guid>http://davidhayden.com/blog/dave/archive/2006/01/30/2779.aspx</guid><description>&lt;P&gt;&lt;FONT face=Verdana size=2&gt;Jamie Cansdale is making TestDriven.NET one sweet Visual Studio Add-In for those interested in unit testing and code coverage.&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face=Verdana size=2&gt;If you are unfamiliar with TestDriven.NET here is the official description on the &lt;/FONT&gt;&lt;A href="http://www.testdriven.net/" target=_blank&gt;&lt;FONT face=Verdana size=2&gt;website&lt;/FONT&gt;&lt;/A&gt;&lt;FONT face=Verdana size=2&gt;:&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face=Verdana size=2&gt;&amp;#8220;TestDriven.NET makes it easy to run unit tests with a single click, anywhere in your Visual Studio solutions. It supports all versions of Microsoft Visual Studio .NET meaning you don't have to worry about compatibility issues and fully integrates with all major unit testing frameworks including NUnit, MbUnit, &amp;amp; MS Team System.&amp;#8221;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face=Verdana size=2&gt;Recently, Jamie added hooks into the code coverage that comes with Visual Studio Team Editions for Developer and Tester.&amp;nbsp; However, if you don't have those, it now works with NCover, which is an open source solution for code coverage for .NET.&amp;nbsp; Here is the official description of NCover from the &lt;/FONT&gt;&lt;A href="http://ncover.org/site/" target=_blank&gt;&lt;FONT face=Verdana size=2&gt;website&lt;/FONT&gt;&lt;/A&gt;&lt;FONT face=Verdana size=2&gt;:&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face=Verdana size=2&gt;&amp;#8220;NCover provides statistics about your code, telling you how many times each line of code was executed during a particular run of the application.&amp;nbsp; The most common use of code coverage analysis is to provide a measurement of how thoroughly your unit tests exercise your code.&amp;nbsp; After running your unit tests under NCover, you can easily pinpoint sections of code that are poorly covered and write unit tests for those portions.&amp;nbsp; Code coverage measurement is a vital part of a healthy build environment.&amp;#8221;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face=Verdana size=2&gt;What does all this mean?&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face=Verdana size=2&gt;This means you get the benefits of a several kick butt unit testing frameworks and code coverage using TestDriven.NET without having to purchase Team Edition for Developers&amp;nbsp;or Team Edition for Testers.&amp;nbsp; Kudos to Jamie for making this happen.&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face=Verdana size=2&gt;Learn &lt;/FONT&gt;&lt;A href="http://weblogs.asp.net/nunitaddin/" target=_blank&gt;&lt;FONT face=Verdana size=2&gt;more&lt;/FONT&gt;&lt;/A&gt;&lt;FONT face=Verdana size=2&gt;.&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face=Verdana size=2&gt;Source: &lt;/FONT&gt;&lt;A href="http://www.davidhayden.com/"&gt;&lt;FONT face=Verdana size=2&gt;David Hayden&lt;/FONT&gt;&lt;/A&gt;&lt;FONT face=Verdana size=2&gt; ( &lt;/FONT&gt;&lt;A href="http://www.davidhayden.com/"&gt;&lt;FONT face=Verdana size=2&gt;Florida .NET Developer&lt;/FONT&gt;&lt;/A&gt;&lt;FONT face=Verdana size=2&gt; )&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face=Verdana size=2&gt;&lt;/FONT&gt;&amp;nbsp;&lt;/P&gt;&lt;img src ="http://davidhayden.com/blog/dave/aggbug/2779.aspx" width = "1" height = "1" /&gt;</description></item><item><dc:creator>Dave Hayden</dc:creator><title>Unit Testing Database Logic for SQL Server Database Developers</title><link>http://davidhayden.com/blog/dave/archive/2005/12/18/2633.aspx</link><pubDate>Sun, 18 Dec 2005 18:35:00 GMT</pubDate><guid>http://davidhayden.com/blog/dave/archive/2005/12/18/2633.aspx</guid><description>&lt;P&gt;&lt;FONT face=Verdana size=2&gt;I haven't tried it, but&amp;nbsp;Karl Gram seems to be cooking up something interesting - dbUnit for &lt;STRONG&gt;unit testing database logic&lt;/STRONG&gt;.&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face=Verdana size=2&gt;dbUnit aids the developer in creating &lt;/FONT&gt;&lt;A href="http://davidhayden.com/blog/dave/category/23.aspx?Show=All"&gt;&lt;FONT face=Verdana size=2&gt;unit tests&lt;/FONT&gt;&lt;/A&gt;&lt;FONT face=Verdana size=2&gt; for all your database logic. You can test the table structure, inserts, updates, deletes, triggers and also procedures. In general the tool allows you as a developer to write all your &lt;/FONT&gt;&lt;A href="http://davidhayden.com/blog/dave/category/23.aspx?Show=All"&gt;&lt;FONT face=Verdana size=2&gt;unit tests&lt;/FONT&gt;&lt;/A&gt;&lt;FONT face=Verdana size=2&gt; in T-SQL and use &lt;/FONT&gt;&lt;A href="http://davidhayden.com/blog/dave/archive/2005/12/18/2631.aspx"&gt;&lt;FONT face=Verdana size=2&gt;NUnit&lt;/FONT&gt;&lt;/A&gt;&lt;FONT face=Verdana size=2&gt; to unit test them.&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face=Verdana size=2&gt;Some of the features of the current alpa version (0.5) are:&lt;/FONT&gt;&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;&lt;FONT face=Verdana size=2&gt;Create a dbUnit project&lt;/FONT&gt;&lt;/LI&gt;
&lt;LI&gt;&lt;FONT face=Verdana size=2&gt;Add unit tests to the project&lt;/FONT&gt;&lt;/LI&gt;
&lt;LI&gt;&lt;FONT face=Verdana size=2&gt;Specifiy the SQL Server to connect to&lt;/FONT&gt;&lt;/LI&gt;
&lt;LI&gt;&lt;FONT face=Verdana size=2&gt;Handle expected exceptions (e.g raiserror and other database errors)&lt;/FONT&gt;&lt;/LI&gt;
&lt;LI&gt;&lt;FONT face=Verdana size=2&gt;Generate the NUnit test dll&lt;/FONT&gt;&lt;/LI&gt;
&lt;LI&gt;&lt;FONT face=Verdana size=2&gt;Start NUnit from within dbUnit&lt;/FONT&gt;&lt;/LI&gt;&lt;/UL&gt;
&lt;P&gt;&lt;FONT face=Verdana size=2&gt;Learn more &lt;/FONT&gt;&lt;A href="http://www.gramonline.com/posts/156.aspx" target=_blank&gt;&lt;FONT face=Verdana size=2&gt;here&lt;/FONT&gt;&lt;/A&gt;&lt;FONT face=Verdana size=2&gt;.&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face=Verdana size=2&gt;Recent SQL Server related posts:&lt;/FONT&gt;&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;&lt;A href="http://davidhayden.com/blog/dave/archive/2005/10/15/2517.aspx"&gt;&lt;FONT face=Verdana color=#0000ff size=2&gt;SQL Server Transaction Savepoints - Rollback Part of Transaction - SqlTransaction.Save - SqlTransaction.Rollback&lt;/FONT&gt;&lt;/A&gt;&lt;/LI&gt;
&lt;LI&gt;&lt;A href="http://davidhayden.com/blog/dave/archive/2005/10/14/2515.aspx"&gt;&lt;FONT face=Verdana color=#0000ff size=2&gt;Sql Server Transactions - ADO.NET 2.0 - Commit and Rollback - Using Statement - IDisposable&lt;/FONT&gt;&lt;/A&gt;&lt;/LI&gt;
&lt;LI&gt;&lt;A href="http://davidhayden.com/blog/dave/archive/2005/10/05/2503.aspx"&gt;&lt;FONT face=Verdana color=#0000ff size=2&gt;SQL Server - Optimistic Concurrency Database Updating - Pessimistic Concurrency - High Performance ASP.NET Websites&lt;/FONT&gt;&lt;/A&gt;&lt;/LI&gt;
&lt;LI&gt;&lt;A href="http://davidhayden.com/blog/dave/archive/2005/09/17/2475.aspx"&gt;&lt;FONT face=Verdana color=#0000ff size=2&gt;SQL Server Queries - SQL Server Query Tips and Tricks for Efficient SQL Server Query Performance&lt;/FONT&gt;&lt;/A&gt;&lt;/LI&gt;
&lt;LI&gt;&lt;A href="http://davidhayden.com/blog/dave/archive/2005/07/24/2403.aspx"&gt;&lt;FONT face=Verdana color=#0000ff size=2&gt;Query Analyzer - Sql Server Database Indexes and Execution Plans&lt;/FONT&gt;&lt;/A&gt;&lt;/LI&gt;&lt;/UL&gt;
&lt;P&gt;&lt;FONT face=Verdana size=2&gt;Source: &lt;/FONT&gt;&lt;A href="http://www.davidhayden.com/"&gt;&lt;FONT face=Verdana size=2&gt;David Hayden&lt;/FONT&gt;&lt;/A&gt;&lt;FONT face=Verdana size=2&gt; ( &lt;/FONT&gt;&lt;A href="http://www.davidhayden.com/"&gt;&lt;FONT face=Verdana size=2&gt;Florida ASP.NET Developer&lt;/FONT&gt;&lt;/A&gt;&lt;FONT face=Verdana size=2&gt; )&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face=Verdana size=2&gt;&lt;/FONT&gt;&amp;nbsp;&lt;/P&gt;&lt;img src ="http://davidhayden.com/blog/dave/aggbug/2633.aspx" width = "1" height = "1" /&gt;</description></item><item><dc:creator>Dave Hayden</dc:creator><title>NUnit 2.2.4 for .NET Framework 2.0 - Unit Testing and Test Driven Development</title><link>http://davidhayden.com/blog/dave/archive/2005/12/18/2631.aspx</link><pubDate>Sun, 18 Dec 2005 17:22:00 GMT</pubDate><guid>http://davidhayden.com/blog/dave/archive/2005/12/18/2631.aspx</guid><description>&lt;P&gt;&lt;FONT face=Verdana size=2&gt;NUnit 2.2.4 is available for download and the first version to support .NET 2.0 Framework and Visual Studio 2005.&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face=Verdana size=2&gt;If you are into &lt;/FONT&gt;&lt;A href="http://davidhayden.com/blog/dave/category/23.aspx?Show=All"&gt;&lt;FONT face=Verdana size=2&gt;unit testing&lt;/FONT&gt;&lt;/A&gt;&lt;FONT face=Verdana size=2&gt; and &lt;/FONT&gt;&lt;A href="http://davidhayden.com/blog/dave/archive/2004/12/03/662.aspx"&gt;&lt;FONT face=Verdana size=2&gt;test-driven development&lt;/FONT&gt;&lt;/A&gt;&lt;FONT face=Verdana size=2&gt;, NUnit is an excellent test framework for your Visual Studio 2005 applications.&amp;nbsp; Some of the highlights of NUnit for the .NET 2.0 Framework:&lt;/FONT&gt;&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;&lt;FONT face=Verdana size=2&gt;NUnit 2.2.4 runs under .Net 2.0 and works with VS2005. If you work exclusively with .Net 2.0, you can download a version that is actually built with that framework version, which eliminates dealing with the config file.&lt;/FONT&gt;&lt;/LI&gt;
&lt;LI&gt;&lt;FONT face=Verdana size=2&gt;You can run tests built against older versions - 2.0 or later - of NUnit without recompiling. As a bonus, you can run tests built against CSUnit without recompiling.&lt;/FONT&gt;&lt;/LI&gt;
&lt;LI&gt;&lt;FONT face=Verdana size=2&gt;A number of new Asserts and Attributes have been added. It is now much easier to create your own custom Asserts while still taking advantage of NUnit's built-in error message formatting.&lt;/FONT&gt;&lt;/LI&gt;
&lt;LI&gt;&lt;FONT face=Verdana size=2&gt;An extensibility mechanism allows you to define your own attributes for test fixtures and cases that behave in non-standard ways.&lt;/FONT&gt;&lt;/LI&gt;
&lt;LI&gt;&lt;FONT face=Verdana size=2&gt;Documentation is substantially improved and is provided as a set of html files. The packaged documentation includes only version-specific details, with info that may change over time, such as contacts, kept on the web site.&lt;/FONT&gt;&lt;/LI&gt;&lt;/UL&gt;
&lt;P&gt;&lt;FONT face=Verdana size=2&gt;You can download NUnit 2.2.4 for &lt;/FONT&gt;&lt;A href="http://davidhayden.com/blog/dave/category/23.aspx?Show=All"&gt;&lt;FONT face=Verdana size=2&gt;unit testing&lt;/FONT&gt;&lt;/A&gt;&lt;FONT face=Verdana size=2&gt; and &lt;/FONT&gt;&lt;A href="http://davidhayden.com/blog/dave/archive/2004/12/03/662.aspx"&gt;&lt;FONT face=Verdana size=2&gt;test-driven development&lt;/FONT&gt;&lt;/A&gt;&lt;FONT face=Verdana size=2&gt;&amp;nbsp;&lt;/FONT&gt;&lt;A href="http://sourceforge.net/project/showfiles.php?group_id=10749" target=_blank&gt;&lt;FONT face=Verdana size=2&gt;here&lt;/FONT&gt;&lt;/A&gt;&lt;FONT face=Verdana size=2&gt;.&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face=Verdana size=2&gt;Blog:&amp;nbsp; &lt;/FONT&gt;&lt;A href="http://www.davidhayden.com/"&gt;&lt;FONT face=Verdana size=2&gt;David Hayden&lt;/FONT&gt;&lt;/A&gt;&lt;FONT face=Verdana size=2&gt; ( &lt;/FONT&gt;&lt;A href="http://www.davidhayden.com/"&gt;&lt;FONT face=Verdana size=2&gt;Sarasota Florida .NET Developer&lt;/FONT&gt;&lt;/A&gt;&lt;FONT face=Verdana size=2&gt; )&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face=Verdana size=2&gt;&lt;/FONT&gt;&amp;nbsp;&lt;/P&gt;&lt;img src ="http://davidhayden.com/blog/dave/aggbug/2631.aspx" width = "1" height = "1" /&gt;</description></item><item><dc:creator>Dave Hayden</dc:creator><title>NUnit 2.2.3 Released - .NET 2.0 and Visual Studio 2005 Unit Testing and Test Driven Development</title><link>http://davidhayden.com/blog/dave/archive/2005/11/19/2576.aspx</link><pubDate>Sat, 19 Nov 2005 20:59:00 GMT</pubDate><guid>http://davidhayden.com/blog/dave/archive/2005/11/19/2576.aspx</guid><description>&lt;P&gt;&lt;FONT face=Verdana size=2&gt;NUnit 2.2.3 has been released, which supports Visual Studio 2005 and the .NET 2.0 Framework.&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face=Verdana size=2&gt;According to the release notes:&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face=Verdana size=2&gt;&amp;#8220;NUnit can now be installed and run under .NET 2.0 and used in conjunction with VS2005. A problem that prevented installation when .NET 2.0 Beta 2 was the only installed framework has been corrected. NUnit 2.2.3 installation requires one of the following .NET framework versions to be present: 2.0.50727, 2.0.50215, 2.0.40607, 1.1.4322 or 1.0.3705.&amp;#8221;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face=Verdana size=2&gt;NUnit is a unit-testing framework for all .Net languages. Initially ported from JUnit, the current production release, version 2.2, is the fourth major release of this xUnit based unit testing tool for Microsoft .NET. It is written entirely in C# and has been completely redesigned to take advantage of many .NET language features, for example custom attributes and other reflection related capabilities. NUnit brings xUnit to all .NET languages.&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face=Verdana size=2&gt;Download it &lt;/FONT&gt;&lt;A href="http://nunit.com/testweb/index.php?p=download" target=_blank&gt;&lt;FONT face=Verdana size=2&gt;here&lt;/FONT&gt;&lt;/A&gt;&lt;FONT face=Verdana size=2&gt;.&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face=Verdana size=2&gt;&lt;/FONT&gt;&amp;nbsp;&lt;/P&gt;&lt;img src ="http://davidhayden.com/blog/dave/aggbug/2576.aspx" width = "1" height = "1" /&gt;</description></item><item><dc:creator>Dave Hayden</dc:creator><title>Test Driven Development and Test Automation Resources</title><link>http://davidhayden.com/blog/dave/archive/2005/09/12/2465.aspx</link><pubDate>Mon, 12 Sep 2005 18:15:00 GMT</pubDate><guid>http://davidhayden.com/blog/dave/archive/2005/09/12/2465.aspx</guid><description>&lt;P&gt;&lt;A href="http://www.jnsk.se/weblog/" target=_blank&gt;&lt;FONT face=Verdana size=2&gt;Jimmy Nilsson&lt;/FONT&gt;&lt;/A&gt;&lt;FONT face=Verdana size=2&gt; &lt;/FONT&gt;&lt;A href="http://www.jnsk.se/weblog/posts/tddlink.htm" target=_blank&gt;&lt;FONT face=Verdana size=2&gt;mentioned&lt;/FONT&gt;&lt;/A&gt;&lt;FONT face=Verdana size=2&gt; the website, &lt;/FONT&gt;&lt;A href="http://tap.testautomationpatterns.com:8080/index.html" target=_blank&gt;&lt;FONT face=Verdana size=2&gt;Patterns of XUnit Test Automation&lt;/FONT&gt;&lt;/A&gt;&lt;FONT face=Verdana size=2&gt;, on his blog as a good resource for &lt;A href="http://davidhayden.com/blog/dave/archive/2004/06/15/309.aspx"&gt;Test Driven Development&lt;/A&gt;.&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face=Verdana size=2&gt;The website has a lot of good principles about test automation that&amp;nbsp;are tool independent, so if you are interested in &lt;A href="http://davidhayden.com/blog/dave/category/23.aspx?Show=All"&gt;unit tests&lt;/A&gt;, test driven development, and test automation&amp;nbsp;in general, I think the website is worth a look.&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face=Verdana size=2&gt;From the &lt;/FONT&gt;&lt;A href="http://tap.testautomationpatterns.com:8080/index.html" target=_blank&gt;&lt;FONT face=Verdana size=2&gt;website&lt;/FONT&gt;&lt;/A&gt;&lt;FONT face=Verdana size=2&gt;:&lt;/FONT&gt;&lt;/P&gt;
&lt;H2&gt;&lt;FONT face=Verdana&gt;Why is Test Automation Important?&lt;/FONT&gt;&lt;/H2&gt;
&lt;P&gt;&lt;FONT face=Verdana size=2&gt;Automated unit tests (A.K.A. "developer tests") and functional tests (A.K.A. "customer tests") are a cornerstone of many agile development methods (such as eXtreme Programming). The availability of automated, self-checking tests allows developers to be much bolder in how they modify existing software. They allow a more evolutionary form of software development that support incremental delivery of functionality to the customer (motto: Deliver early; deliver often!) that speeds up user feedback and improves the quality (both "fitness for purpose" and "software quality") of the software being built. The techniques are also spreading to less agile development methods via the introduction of "Test Driven Development" as a less extreme process alternative. &lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face=Verdana size=2&gt;Automated test are more repeatable than manual tests because they execute exactly the same way every time. They don't forget things after long weekends and vacations. They don't leave to work on other projects. They don't get sick or run over by a bus. &lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face=Verdana size=2&gt;Automated tests take a lot less effort to run than manual tests. As a result, they are more likely to be run often. The more often the better. Fully assimilated agile developers run their tests pretty well every time they save and compile their code. And any time they need a quick vote of confidence! The tests act as a comforting "safety net" that promises to catch the developer's mistakes. This allows them to work more quickly and with less paranoia and that makes them more productive despite the extra effort involved in writing the tests.&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face=Verdana size=2&gt;Learn &lt;/FONT&gt;&lt;A href="http://tap.testautomationpatterns.com:8080/index.html" target=_blank&gt;&lt;FONT face=Verdana size=2&gt;more&lt;/FONT&gt;&lt;/A&gt;&lt;FONT face=Verdana size=2&gt;.&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face=Verdana size=2&gt;&lt;/FONT&gt;&amp;nbsp;&lt;/P&gt;&lt;img src ="http://davidhayden.com/blog/dave/aggbug/2465.aspx" width = "1" height = "1" /&gt;</description></item><item><dc:creator>Dave Hayden</dc:creator><title>NUnit Converter:  Convert NUnit Tests to Tests Compatible With Visual Studio 2005 Team System</title><link>http://davidhayden.com/blog/dave/archive/2005/08/01/2413.aspx</link><pubDate>Mon, 01 Aug 2005 20:37:00 GMT</pubDate><guid>http://davidhayden.com/blog/dave/archive/2005/08/01/2413.aspx</guid><description>&lt;P&gt;&lt;FONT face=Verdana size=2&gt;James Newkirk has created a program that converts C# NUnit code into tests compatible with Visual Studio 2005 Team System.&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face=Verdana size=2&gt;He placed it up on GDN, which means you have about 1 chance out of 10 to actually download it ;)&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face=Verdana size=2&gt;Learn more about NUnit Converter v0.5 &lt;/FONT&gt;&lt;A href="http://blogs.msdn.com/jamesnewkirk/archive/2005/07/29/445064.aspx" target=_blank&gt;&lt;FONT face=Verdana size=2&gt;here&lt;/FONT&gt;&lt;/A&gt;&lt;FONT face=Verdana size=2&gt;.&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face=Verdana size=2&gt;&lt;/FONT&gt;&amp;nbsp;&lt;/P&gt;&lt;img src ="http://davidhayden.com/blog/dave/aggbug/2413.aspx" width = "1" height = "1" /&gt;</description></item></channel></rss>