<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	xmlns:georss="http://www.georss.org/georss" xmlns:geo="http://www.w3.org/2003/01/geo/wgs84_pos#" xmlns:media="http://search.yahoo.com/mrss/"
	>

<channel>
	<title>Pradeep</title>
	<atom:link href="http://novicegeek.wordpress.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://novicegeek.wordpress.com</link>
	<description>A Novice Geek</description>
	<lastBuildDate>Fri, 12 Mar 2010 18:15:14 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.com/</generator>
<cloud domain='novicegeek.wordpress.com' port='80' path='/?rsscloud=notify' registerProcedure='' protocol='http-post' />
<image>
		<url>http://0.gravatar.com/blavatar/ad965197108e236af6bf3a2c3e08458c?s=96&#038;d=http%3A%2F%2Fs2.wp.com%2Fi%2Fbuttonw-com.png</url>
		<title>Pradeep</title>
		<link>http://novicegeek.wordpress.com</link>
	</image>
	<atom:link rel="search" type="application/opensearchdescription+xml" href="http://novicegeek.wordpress.com/osd.xml" title="Pradeep" />
	<atom:link rel='hub' href='http://novicegeek.wordpress.com/?pushpress=hub'/>
		<item>
		<title>WCF REST</title>
		<link>http://novicegeek.wordpress.com/2010/03/12/wcf-rest/</link>
		<comments>http://novicegeek.wordpress.com/2010/03/12/wcf-rest/#comments</comments>
		<pubDate>Fri, 12 Mar 2010 18:15:14 +0000</pubDate>
		<dc:creator>novicegeek</dc:creator>
				<category><![CDATA[REST]]></category>
		<category><![CDATA[WCF REST Starter Kit]]></category>
		<category><![CDATA[.NET 4.0]]></category>
		<category><![CDATA[C#]]></category>
		<category><![CDATA[WCF]]></category>
		<category><![CDATA[Web Services]]></category>

		<guid isPermaLink="false">http://novicegeek.wordpress.com/?p=39</guid>
		<description><![CDATA[Hi, For the next few posts i am going to share some basics about WCF, REST Architecture and How to develop REST architecture in .NET. Before that why do we need Web services??? SOA A service-oriented architecture (SOA) is a flexible set of design principles used during the phases of systems development and integration. A [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=novicegeek.wordpress.com&amp;blog=9546920&amp;post=39&amp;subd=novicegeek&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Hi,</p>
<div>For the next few posts i am going to share some basics about WCF, REST Architecture and How to develop REST architecture in .NET.</div>
<div>Before that why do we need Web services???</div>
<div><strong>SOA </strong></div>
<p><strong> </strong></p>
<p><span style="font-size:small;"><a title="Service Oriented Architecture" href="http://www.hannonhill.com/files/images/features/web-services.png"><img class="alignright" style="height:160px;margin-left:0;margin-right:1em;width:160px;" src="http://www.hannonhill.com/files/images/features/web-services.png" alt="" width="300" height="300" /></a>A service-oriented architecture (</span><a id="p40r" title="Service Oriented Architecture" href="http://en.wikipedia.org/wiki/Service-oriented_architecture"><span style="font-size:small;">SOA</span></a><span style="font-size:small;">) is a flexible set of design principles used during the phases of systems development and integration. A deployed SOA-based architecture will provide a loosely-integrated suite of </span><em><span style="font-size:small;">services</span></em><span style="font-size:small;"> that can be used within </span><em><strong><span style="font-size:small;">multiple business domains</span></strong></em><span style="font-size:small;">.</span></p>
<div><span style="font-size:small;">When the same data is requested across multiple domains (asp,asp.net,php,jsp,window app,java,etc&#8230;&#8230;) we expose/host the data in a standard format such as XML,JSON,RSS,ATOM,etc. Client developers will use those data for their development. Currently most of the enterprise level development are done in the SOA architecture.</span></div>
<div><span style="font-size:small;"><br />
</span></div>
<div><span style="font-size:small;"><strong>SOA Example</strong></span></div>
<p><a href="http://www.ep-momentum.eu/Portals/0/icons-logos/twitter-logo.png" target="_blank"><img style="float:left;height:160px;margin-left:0;margin-right:1em;width:160px;" src="http://www.ep-momentum.eu/Portals/0/icons-logos/twitter-logo.png" alt="" /></a></p>
<p>One of the simplest solid visible example that every knows is <a id="wj7i" title="http://www.twitter.com" href="http://www.twitter.com">twitter</a>.</p>
<div>
<p>The twitter has its apps in almost all domains starting from HTML/JS, Windows, WPF, Adobe AIR, all mobile platforms, and the list keeps on going.</p>
<p>The <a id="aac7" title="http://apiwiki.twitter.com/" href="http://apiwiki.twitter.com/Twitter-API-Documentation">twitter API</a> uses REST based services in  XML, JSON, RSS &amp; ATOM formats. The following is a simple service to fetch the recent 20 public twitter updates.</p>
<p><a href="http://api.twitter.com/1/statuses/public_timeline.xml"></a></p>
</div>
<div><a style="color:#551a8b;" href="http://api.twitter.com/1/statuses/public_timeline.xml">http://api.twitter.com/1/statuses/public_timeline.xml</a> (Click the link and see for yourself)</div>
<div>Change the .xml to json,atom or rss to <strong><em>GET</em></strong> the result in various formats. The app developer can use a proxy to request, parse the response xml and display the data inside the app the way they wanted to display.</div>
<p><strong>RESTful Services</strong></p>
<div><strong>RE</strong>presentational <strong>S</strong>tate <strong>T</strong>ransfer (<a id="nijk" title="REST" href="http://en.wikipedia.org/wiki/REST">REST</a>) is an architecture for representing a resource through HTTP. In REST Service all the data&#8217;s are referred as a resource and transferred through http. These RESTful services represented  by the URI. This rest can be applied for following HTTP methods such as</div>
<ul>
<li>GET</li>
<li>POST</li>
<li>PUT</li>
<li>DELETE</li>
</ul>
<div>Simply it can be used in the place where CRUD operations alone are needed.</div>
<div>In the next part i will dive deep into WCF REST &amp; WCF REST Starter Kit.</div>
<div>Regards,</div>
<div>Pradeep.</div>
<br />Filed under: <a href='http://novicegeek.wordpress.com/category/rest/'>REST</a>, <a href='http://novicegeek.wordpress.com/category/wcf-rest-starter-kit/'>WCF REST Starter Kit</a> Tagged: <a href='http://novicegeek.wordpress.com/tag/net-4-0/'>.NET 4.0</a>, <a href='http://novicegeek.wordpress.com/tag/c/'>C#</a>, <a href='http://novicegeek.wordpress.com/tag/rest/'>REST</a>, <a href='http://novicegeek.wordpress.com/tag/wcf/'>WCF</a>, <a href='http://novicegeek.wordpress.com/tag/wcf-rest-starter-kit/'>WCF REST Starter Kit</a>, <a href='http://novicegeek.wordpress.com/tag/web-services/'>Web Services</a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/novicegeek.wordpress.com/39/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/novicegeek.wordpress.com/39/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/novicegeek.wordpress.com/39/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/novicegeek.wordpress.com/39/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/novicegeek.wordpress.com/39/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/novicegeek.wordpress.com/39/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/novicegeek.wordpress.com/39/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/novicegeek.wordpress.com/39/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/novicegeek.wordpress.com/39/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/novicegeek.wordpress.com/39/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/novicegeek.wordpress.com/39/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/novicegeek.wordpress.com/39/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/novicegeek.wordpress.com/39/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/novicegeek.wordpress.com/39/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=novicegeek.wordpress.com&amp;blog=9546920&amp;post=39&amp;subd=novicegeek&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://novicegeek.wordpress.com/2010/03/12/wcf-rest/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/5f2783477be5e2f8bbb5527ede641804?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">novicegeek</media:title>
		</media:content>

		<media:content url="http://www.hannonhill.com/files/images/features/web-services.png" medium="image" />

		<media:content url="http://www.ep-momentum.eu/Portals/0/icons-logos/twitter-logo.png" medium="image" />
	</item>
		<item>
		<title>.NET Testing Frameworks</title>
		<link>http://novicegeek.wordpress.com/2009/11/17/various-testing-frameworks/</link>
		<comments>http://novicegeek.wordpress.com/2009/11/17/various-testing-frameworks/#comments</comments>
		<pubDate>Tue, 17 Nov 2009 14:18:17 +0000</pubDate>
		<dc:creator>novicegeek</dc:creator>
				<category><![CDATA[.Net]]></category>
		<category><![CDATA[3rd Party]]></category>
		<category><![CDATA[C#]]></category>
		<category><![CDATA[Unit Testing]]></category>

		<guid isPermaLink="false">http://novicegeek.wordpress.com/?p=17</guid>
		<description><![CDATA[Hello World, In this post we are going to explore about the various testing frameworks available for .NET. This is the continuation to my previous post on TDD-Intro. The Wikipedia source gives various .NET testing frameworks out of which NUnit MbUnit Visual Studio Testing Framework xUnit.net plays major role. We are going to explore about [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=novicegeek.wordpress.com&amp;blog=9546920&amp;post=17&amp;subd=novicegeek&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Hello World,</p>
<div>In this post we are going to explore about the various testing frameworks available for .NET. This is the continuation to my previous post on <a id="suc1" title="TDD-Intro" href="http://novicegeek.wordpress.com/2009/10/30/tdd-intro/" target="_blank">TDD-Intro</a>.</div>
<div>The <a id="b644" title="Wikipedia" href="http://en.wikipedia.org/wiki/List_of_unit_testing_frameworks#.NET_programming_languages" target="_blank">Wikipedia</a> source gives various .NET testing frameworks out of which</div>
<div>
<ol>
<li><a id="fpnp" title="NUnit" href="http://www.nunit.org" target="_blank">NUnit</a></li>
<li><a id="d0l3" title="MbUnit" href="http://www.mbunit.com/" target="_blank">MbUnit</a></li>
<li><a id="qhij" title="Visual Studio Testing Framework" href="http://msdn.microsoft.com/en-us/library/ms243147%28VS.80%29.aspx" target="_blank">Visual Studio Testing Framework</a></li>
<li><a id="tczx" title="xUnit.net" href="http://xunit.codeplex.com/" target="_blank">xUnit.net</a></li>
</ol>
</div>
<div>plays major role. We are going to explore about each framework in the following sections.</div>
<p><strong>Test Runners:</strong></p>
<div>Visual studio Test runner can run in itself in visual studio. No seperate gui or addins needed. Other unit tests frame work won&#8217;t run inside Visual Studio 2008 automatically. You have to build the unit testing class project and run it in their own GUI&#8217;s and Testing Console .</div>
<div></div>
<div></div>
<div>
<div style="text-align:center;"><a href="http://www.ranorex.com/blog/wp-content/uploads/2009/07/nunit-gui4.png" target="_blank"><img class="aligncenter" style="margin-top:4px;display:block;margin-bottom:0;width:570px;height:418px;" src="http://www.ranorex.com/blog/wp-content/uploads/2009/07/nunit-gui4.png" alt="" width="365" height="267" /></a></div>
<div style="text-align:center;"><strong>NUnit GUI</strong></div>
<div style="text-align:center;"><strong> </strong></div>
<div style="text-align:center;"><strong> </strong></div>
<p><strong> </strong></p>
<p><strong> </strong><strong> </strong><strong> </strong></p>
<p>&nbsp;</p>
</div>
<div><strong> </strong><strong> </strong></p>
<div style="text-align:center;"><img class="aligncenter" style="margin-top:4px;display:block;" src="http://www.gallio.org/screenshots/ssIcarus2.png" alt="" width="429" height="320" /></div>
<div style="text-align:center;"><strong>Gallio MbUnit GUI</strong></div>
<div style="text-align:center;"><strong> </strong></div>
<div style="text-align:center;"><strong> </strong></div>
<div style="text-align:center;"><strong> </strong></div>
<div style="text-align:center;"><strong> </strong></div>
<p><strong> </strong></p>
<p><strong> </strong><strong> </strong></p>
<div style="text-align:center;"><strong> </strong><strong> </strong></div>
<div style="text-align:center;"><img class="aligncenter" style="margin-top:4px;display:block;" src="http://farm4.static.flickr.com/3366/3563604569_51c025d336.jpg" alt="" width="400" height="326" /></div>
<div style="text-align:center;"><strong>xUnit.Net GUI</strong></div>
<div style="text-align:center;"><strong> </strong></div>
<div style="text-align:center;"><strong> </strong></div>
<div style="text-align:center;"><strong><br />
</strong></div>
<p>&nbsp;</p>
<p>&nbsp;</p>
</div>
<div>To run these test frameworks in visual studio 2008 i prefer two options.</div>
<div>1. <a id="ikih" title="http://www.jetbrains.com/resharper/" href="http://www.jetbrains.com/resharper/" target="_blank">Resharper</a></div>
<div>2. <a id="u_jn" title="http://www.testdriven.net/" href="http://www.testdriven.net/" target="_blank">TestDriven.Net</a></div>
<div></div>
<div></div>
<div style="text-align:center;"><img class="aligncenter" style="margin-top:4px;display:block;" src="http://www.gallio.org/screenshots/ReSharperIntegration.png" alt="" width="390" height="373" /></div>
<div style="text-align:center;"><strong>Resharper Inside The Unit Testing Project</strong></div>
<div style="text-align:center;"><strong> </strong></div>
<div style="text-align:center;"><strong> </strong></div>
<div style="text-align:center;"><strong> </strong></div>
<div style="text-align:center;"><strong> </strong></div>
<div style="text-align:center;"><strong> </strong></div>
<div style="text-align:center;"><strong> </strong></div>
<div style="text-align:center;"><strong> </strong></div>
<div style="text-align:center;"><strong> </strong><strong> </strong></div>
<div style="text-align:center;"><img class="aligncenter" style="margin-top:4px;margin-bottom:0;" src="http://www.keats.me.uk/wp-content/uploads/2009/06/ReSharperTestRunnerSuccess.png" alt="" width="411" height="259" /></div>
<div style="text-align:center;"><strong>Resharper Test Runner for Other Testing Frameworks Inside VS2008</strong><strong> </strong></div>
<div style="text-align:center;"><strong> </strong></div>
<div style="text-align:center;"><strong> </strong></div>
<div style="text-align:center;"><strong> </strong></div>
<div style="text-align:center;"><strong> </strong></div>
<div style="text-align:center;"><strong> </strong></div>
<div style="text-align:center;"><strong> </strong></div>
<div style="text-align:center;"><strong> </strong></div>
<div style="text-align:center;"><img class="aligncenter" style="margin-top:4px;display:block;" src="http://www.testdriven.net/images/qs_AdHoc.png" alt="" width="377" height="290" /></div>
<div>
<div style="text-align:center;"><strong>TestDriven.Net </strong><strong>Inside The Unit Testing Project</strong></div>
<div style="text-align:center;"><strong> </strong></div>
<div style="text-align:center;"><strong> </strong></div>
<div style="text-align:center;"><strong> </strong></div>
<div style="text-align:center;"><strong> </strong></div>
<div style="text-align:center;"><strong><br />
</strong></div>
<div style="text-align:center;"><strong> </strong><strong> </strong></div>
<div>Resharper you need to buy where as TestDriven.Net you can use the student version for free. Both are very useful and allows you to debug inside visual studio.</div>
<div>VS2010 Fully Supports 3rd party unit testing frameworks.</div>
<div></div>
<div></div>
<p style="text-align:center;"><a href="http://novicegeek.files.wordpress.com/2009/11/img_115618.png"><img class=" aligncenter" style="margin-top:4px;display:block;margin-left:auto;margin-right:auto;" title="Img_115618" src="http://novicegeek.files.wordpress.com/2009/11/img_115618.png?w=280&#038;h=299" alt="VS2010 Support For 3rd Party Testing Frameworks" width="280" height="299" /></a><strong> </strong></p>
<p style="text-align:center;"><strong>VS2010 3rd party unit testing framework support</strong></p>
<p>&nbsp;</p>
<p><strong>Coding Unit Testing:</strong></p>
<p style="text-align:left;">The following table give the list of api&#8217;s used by the various unit testing frameworks.(<em>Source:<a id="gxop" title="http://xunit.codeplex.com/wikipage?title=Comparisons&amp;referringTitle=HowToUse" href="http://xunit.codeplex.com/wikipage?title=Comparisons&amp;referringTitle=HowToUse" target="_blank">xUnit.Net&#8217;s Comparison</a></em>)</p>
<div><strong>Attributes:</strong></div>
<div><span style="color:#30332d;"></p>
<table class="zeroBorder">
<tbody>
<tr>
<th><strong><span style="font-size:x-small;">NUnit 2.x</span></strong></th>
<th><strong><span style="font-size:x-small;">MbUnit 2.4</span></strong></th>
<th><strong><span style="font-size:x-small;">MSTest</span></strong></th>
<th><strong><span style="font-size:x-small;">xUnit.net</span></strong></th>
</tr>
<tr>
<td width="25%"><span class="codeInline"><span style="font-size:medium;">[Test]</span></span></td>
<td width="25%"><span class="codeInline"><span style="font-size:medium;">[Test]</span></span></td>
<td width="25%"><span class="codeInline"><span style="font-size:medium;">[TestMethod]</span></span></td>
<td width="25%"><span class="codeInline"><span style="font-size:medium;">[Fact]</span></span></td>
</tr>
<tr>
<td width="25%"><span class="codeInline"><span style="font-size:medium;">[TestFixture]</span></span></td>
<td width="25%"><span class="codeInline"><span style="font-size:medium;">[TestFixture]</span></span></td>
<td width="25%"><span class="codeInline"><span style="font-size:medium;">[TestClass]</span></span></td>
<td width="25%"><span style="font-size:x-small;"><em>n/a</em></span></td>
</tr>
<tr>
<td width="25%"><span class="codeInline"><span style="font-size:medium;">[ExpectedException]</span></span></td>
<td width="25%"><span class="codeInline"><span style="font-size:medium;">[ExpectedException]</span></span></td>
<td width="25%"><span class="codeInline"><span style="font-size:medium;">[ExpectedException]</span></span></td>
<td width="25%"><span class="codeInline"><span style="font-size:medium;">Assert.Throws</span></span><span style="font-size:x-small;"> or</span><span class="codeInline"><span style="font-size:medium;">Record.Exception</span></span></td>
</tr>
<tr>
<td width="25%"><span class="codeInline"><span style="font-size:medium;">[SetUp]</span></span></td>
<td width="25%"><span class="codeInline"><span style="font-size:medium;">[SetUp]</span></span></td>
<td width="25%"><span class="codeInline"><span style="font-size:medium;">[TestInitialize]</span></span></td>
<td width="25%"><span style="font-size:x-small;">Constructor</span></td>
</tr>
<tr>
<td width="25%"><span class="codeInline"><span style="font-size:medium;">[TearDown]</span></span></td>
<td width="25%"><span class="codeInline"><span style="font-size:medium;">[TearDown]</span></span></td>
<td width="25%"><span class="codeInline"><span style="font-size:medium;">[TestCleanup]</span></span></td>
<td width="25%"><span class="codeInline"><span style="font-size:medium;">IDisposable.Dispose</span></span></td>
</tr>
<tr>
<td width="25%"><span class="codeInline"><span style="font-size:medium;">[TestFixtureSetUp]</span></span></td>
<td width="25%"><span class="codeInline"><span style="font-size:medium;">[TestFixtureSetUp]</span></span></td>
<td width="25%"><span class="codeInline"><span style="font-size:medium;">[ClassInitialize]</span></span></td>
<td width="25%"><span class="codeInline"><span style="font-size:medium;">IUseFixture&lt;T&gt;</span></span></td>
</tr>
<tr>
<td width="25%"><span class="codeInline"><span style="font-size:medium;">[TestFixtureTearDown]</span></span></td>
<td width="25%"><span class="codeInline"><span style="font-size:medium;">[TestFixtureTearDown]</span></span></td>
<td width="25%"><span class="codeInline"><span style="font-size:medium;">[ClassCleanup]</span></span></td>
<td width="25%"><span class="codeInline"><span style="font-size:medium;">IUseFixture&lt;T&gt;</span></span></td>
</tr>
<tr>
<td width="25%"><span class="codeInline"><span style="font-size:medium;">[Ignore]</span></span></td>
<td width="25%"><span class="codeInline"><span style="font-size:medium;">[Ignore]</span></span></td>
<td width="25%"><span class="codeInline"><span style="font-size:medium;">[Ignore]</span></span></td>
<td width="25%"><span class="codeInline"><span style="font-size:medium;">[Fact(Skip="reason")]</span></span></td>
</tr>
<tr>
<td width="25%"><span style="font-size:x-small;"><em>n/a</em></span></td>
<td width="25%"><span class="codeInline"><span style="font-size:medium;">[Timeout]</span></span></td>
<td width="25%"><span class="codeInline"><span style="font-size:medium;">[Timeout]</span></span></td>
<td width="25%"><span class="codeInline"><span style="font-size:medium;">[Fact(Timeout=n)]</span></span></td>
</tr>
<tr>
<td width="25%"><span class="codeInline"><span style="font-size:medium;">[Property]</span></span></td>
<td width="25%"><span style="font-size:x-small;"><em>n/a</em></span></td>
<td width="25%"><span class="codeInline"><span style="font-size:medium;">[TestProperty]</span></span></td>
<td width="25%"><span class="codeInline"><span style="font-size:medium;">[Trait]</span></span></td>
</tr>
<tr>
<td width="25%"><span style="font-size:x-small;"><em>n/a</em></span></td>
<td width="25%"><span class="codeInline"><span style="font-size:medium;">[Row], [RowTest]</span></span></td>
<td width="25%"><span class="codeInline"><span style="font-size:medium;">[DataSource]</span></span></td>
<td width="25%"><span class="codeInline"><span style="font-size:medium;">[Theory], [XxxData]</span></span></td>
</tr>
</tbody>
</table>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p></span></div>
<div><strong>Assertions:</strong></div>
<div><span style="color:#30332d;"></p>
<table class="zeroBorder">
<tbody>
<tr>
<th><strong>NUnit 2.2.x</strong></th>
<th><strong>MbUnit 2.4</strong></th>
<th><strong>MSTest</strong></th>
<th><strong>xUnit.net</strong></th>
</tr>
<tr>
<td width="25%"><span class="codeInline"><span style="font-size:medium;">AreEqual</span></span></td>
<td width="25%"><span class="codeInline"><span style="font-size:medium;">AreEqual</span></span></td>
<td width="25%"><span class="codeInline"><span style="font-size:medium;">AreEqual</span></span></td>
<td width="25%"><span class="codeInline"><span style="font-size:medium;">Equal</span></span></td>
</tr>
<tr>
<td width="25%"><span class="codeInline"><span style="font-size:medium;">AreNotEqual</span></span></td>
<td width="25%"><span class="codeInline"><span style="font-size:medium;">AreNotEqual</span></span></td>
<td width="25%"><span class="codeInline"><span style="font-size:medium;">AreNotEqual</span></span></td>
<td width="25%"><span class="codeInline"><span style="font-size:medium;">NotEqual</span></span></td>
</tr>
<tr>
<td width="25%"><span class="codeInline"><span style="font-size:medium;">AreNotSame</span></span></td>
<td width="25%"><span class="codeInline"><span style="font-size:medium;">AreNotSame</span></span></td>
<td width="25%"><span class="codeInline"><span style="font-size:medium;">AreNotSame</span></span></td>
<td width="25%"><span class="codeInline"><span style="font-size:medium;">NotSame</span></span></td>
</tr>
<tr>
<td width="25%"><span class="codeInline"><span style="font-size:medium;">AreSame</span></span></td>
<td width="25%"><span class="codeInline"><span style="font-size:medium;">AreSame</span></span></td>
<td width="25%"><span class="codeInline"><span style="font-size:medium;">AreSame</span></span></td>
<td width="25%"><span class="codeInline"><span style="font-size:medium;">Same</span></span></td>
</tr>
<tr>
<td width="25%"><span class="codeInline"><span style="font-size:medium;">Contains</span></span></td>
<td width="25%"><span class="codeInline"><span style="font-size:medium;">Contains</span></span> and <span class="codeInline"><span style="font-size:medium;">In</span></span></td>
<td width="25%"><span class="codeInline"><span style="font-size:medium;">Contains</span></span> (on<span class="codeInline"><span style="font-size:medium;">CollectionAssert</span></span>)</td>
<td width="25%"><span class="codeInline"><span style="font-size:medium;">Contains</span></span></td>
</tr>
<tr>
<td width="25%"><span class="codeInline"><span style="font-size:medium;">DoAssert</span></span></td>
<td width="25%"><em>n/a</em></td>
<td width="25%"><em>n/a</em></td>
<td width="25%"><em>n/a</em></td>
</tr>
<tr>
<td width="25%"><em>n/a</em></td>
<td width="25%"><span class="codeInline"><span style="font-size:medium;">NotIn</span></span></td>
<td width="25%"><span class="codeInline"><span style="font-size:medium;">DoesNotContain</span></span> (on<span class="codeInline"><span style="font-size:medium;">CollectionAssert</span></span>)</td>
<td width="25%"><span class="codeInline"><span style="font-size:medium;">DoesNotContain</span></span></td>
</tr>
<tr>
<td width="25%"><em>n/a</em></td>
<td width="25%"><em>n/a</em></td>
<td width="25%"><em>n/a</em></td>
<td width="25%"><span class="codeInline"><span style="font-size:medium;">DoesNotThrow</span></span></td>
</tr>
<tr>
<td width="25%"><span class="codeInline"><span style="font-size:medium;">Fail</span></span></td>
<td width="25%"><span class="codeInline"><span style="font-size:medium;">Fail</span></span></td>
<td width="25%"><span class="codeInline"><span style="font-size:medium;">Fail</span></span></td>
<td width="25%"><em>n/a</em></td>
</tr>
<tr>
<td width="25%"><span class="codeInline"><span style="font-size:medium;">Greater</span></span></td>
<td width="25%"><span class="codeInline"><span style="font-size:medium;">Greater</span></span></td>
<td width="25%"><em>n/a</em></td>
<td width="25%"><em>n/a</em></td>
</tr>
<tr>
<td width="25%"><span class="codeInline"><span style="font-size:medium;">Ignore</span></span></td>
<td width="25%"><span class="codeInline"><span style="font-size:medium;">Ignore</span></span></td>
<td width="25%"><span class="codeInline"><span style="font-size:medium;">Inconclusive</span></span></td>
<td width="25%"><em>n/a</em></td>
</tr>
<tr>
<td width="25%"><em>n/a</em></td>
<td width="25%"><span class="codeInline"><span style="font-size:medium;">Between</span></span></td>
<td width="25%"><em>n/a</em></td>
<td width="25%"><span class="codeInline"><span style="font-size:medium;">InRange</span></span></td>
</tr>
<tr>
<td width="25%"><span class="codeInline"><span style="font-size:medium;">IsAssignableFrom</span></span></td>
<td width="25%"><span class="codeInline"><span style="font-size:medium;">IsAssignableFrom</span></span></td>
<td width="25%"><em>n/a</em></td>
<td width="25%"><span class="codeInline"><span style="font-size:medium;">IsAssignableFrom</span></span></td>
</tr>
<tr>
<td width="25%"><span class="codeInline"><span style="font-size:medium;">IsEmpty</span></span></td>
<td width="25%"><span class="codeInline"><span style="font-size:medium;">IsEmpty</span></span></td>
<td width="25%"><em>n/a</em></td>
<td width="25%"><span class="codeInline"><span style="font-size:medium;">Empty</span></span></td>
</tr>
<tr>
<td width="25%"><span class="codeInline"><span style="font-size:medium;">IsFalse</span></span></td>
<td width="25%"><span class="codeInline"><span style="font-size:medium;">IsFalse</span></span></td>
<td width="25%"><span class="codeInline"><span style="font-size:medium;">IsFalse</span></span></td>
<td width="25%"><span class="codeInline"><span style="font-size:medium;">False</span></span></td>
</tr>
<tr>
<td width="25%"><span class="codeInline"><span style="font-size:medium;">IsInstanceOfType</span></span></td>
<td width="25%"><span class="codeInline"><span style="font-size:medium;">IsInstanceOfType</span></span></td>
<td width="25%"><span class="codeInline"><span style="font-size:medium;">IsInstanceOfType</span></span></td>
<td width="25%"><span class="codeInline"><span style="font-size:medium;">IsType</span></span></td>
</tr>
<tr>
<td width="25%"><span class="codeInline"><span style="font-size:medium;">IsNaN</span></span></td>
<td width="25%"><span class="codeInline"><span style="font-size:medium;">IsNan</span></span></td>
<td width="25%"><em>n/a</em></td>
<td width="25%"><em>n/a</em></td>
</tr>
<tr>
<td width="25%"><span class="codeInline"><span style="font-size:medium;">IsNotAssignableFrom</span></span></td>
<td width="25%"><span class="codeInline"><span style="font-size:medium;">IsNotAssignableFrom</span></span></td>
<td width="25%"><em>n/a</em></td>
<td width="25%"><em>n/a</em></td>
</tr>
<tr>
<td width="25%"><span class="codeInline"><span style="font-size:medium;">IsNotEmpty</span></span></td>
<td width="25%"><span class="codeInline"><span style="font-size:medium;">IsNotEmpty</span></span></td>
<td width="25%"><em>n/a</em></td>
<td width="25%"><span class="codeInline"><span style="font-size:medium;">NotEmpty</span></span></td>
</tr>
<tr>
<td width="25%"><span class="codeInline"><span style="font-size:medium;">IsNotInstanceOfType</span></span></td>
<td width="25%"><span class="codeInline"><span style="font-size:medium;">IsNotInstanceOfType</span></span></td>
<td width="25%"><span class="codeInline"><span style="font-size:medium;">IsNotInstanceOfType</span></span></td>
<td width="25%"><span class="codeInline"><span style="font-size:medium;">IsNotType</span></span></td>
</tr>
<tr>
<td width="25%"><span class="codeInline"><span style="font-size:medium;">IsNotNull</span></span></td>
<td width="25%"><span class="codeInline"><span style="font-size:medium;">IsNotNull</span></span></td>
<td width="25%"><span class="codeInline"><span style="font-size:medium;">IsNotNull</span></span></td>
<td width="25%"><span class="codeInline"><span style="font-size:medium;">NotNull</span></span></td>
</tr>
<tr>
<td width="25%"><span class="codeInline"><span style="font-size:medium;">IsNull</span></span></td>
<td width="25%"><span class="codeInline"><span style="font-size:medium;">IsNull</span></span></td>
<td width="25%"><span class="codeInline"><span style="font-size:medium;">IsNull</span></span></td>
<td width="25%"><span class="codeInline"><span style="font-size:medium;">Null</span></span></td>
</tr>
<tr>
<td width="25%"><span class="codeInline"><span style="font-size:medium;">IsTrue</span></span></td>
<td width="25%"><span class="codeInline"><span style="font-size:medium;">IsTrue</span></span></td>
<td width="25%"><span class="codeInline"><span style="font-size:medium;">IsTrue</span></span></td>
<td width="25%"><span class="codeInline"><span style="font-size:medium;">True</span></span></td>
</tr>
<tr>
<td width="25%"><span class="codeInline"><span style="font-size:medium;">Less</span></span></td>
<td width="25%"><span class="codeInline"><span style="font-size:medium;">Less</span></span></td>
<td width="25%"><em>n/a</em></td>
<td width="25%"><em>n/a</em></td>
</tr>
<tr>
<td width="25%"><em>n/a</em></td>
<td width="25%"><span class="codeInline"><span style="font-size:medium;">NotBetween</span></span></td>
<td width="25%"><em>n/a</em></td>
<td width="25%"><span class="codeInline"><span style="font-size:medium;">NotInRange</span></span></td>
</tr>
<tr>
<td width="25%"><em>n/a</em></td>
<td width="25%"><em>n/a</em></td>
<td width="25%"><em>n/a</em></td>
<td width="25%"><span class="codeInline"><span style="font-size:medium;">Throws</span></span></td>
</tr>
</tbody>
</table>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>I am using MbUnit. I choose Mbunit because of its [Row] parameter based testing and its extendability with TeamCity. Eventhough xUnit.Net is new, it  seems to be impressive and also under active development. All the above testing frameworks are well documented. I believe this one and my last post will give a nice crisp about unit testing, unit testing frameworks, and other unit testing tools in .NET.</p>
<p></span></div>
<p>Regrds,<br />
Pradeep.</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
</div>
<br />Posted in .Net, 3rd Party, C#, Unit Testing  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/novicegeek.wordpress.com/17/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/novicegeek.wordpress.com/17/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/novicegeek.wordpress.com/17/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/novicegeek.wordpress.com/17/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/novicegeek.wordpress.com/17/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/novicegeek.wordpress.com/17/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/novicegeek.wordpress.com/17/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/novicegeek.wordpress.com/17/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/novicegeek.wordpress.com/17/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/novicegeek.wordpress.com/17/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/novicegeek.wordpress.com/17/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/novicegeek.wordpress.com/17/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/novicegeek.wordpress.com/17/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/novicegeek.wordpress.com/17/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=novicegeek.wordpress.com&amp;blog=9546920&amp;post=17&amp;subd=novicegeek&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://novicegeek.wordpress.com/2009/11/17/various-testing-frameworks/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/5f2783477be5e2f8bbb5527ede641804?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">novicegeek</media:title>
		</media:content>

		<media:content url="http://www.ranorex.com/blog/wp-content/uploads/2009/07/nunit-gui4.png" medium="image" />

		<media:content url="http://www.gallio.org/screenshots/ssIcarus2.png" medium="image" />

		<media:content url="http://farm4.static.flickr.com/3366/3563604569_51c025d336.jpg" medium="image" />

		<media:content url="http://www.gallio.org/screenshots/ReSharperIntegration.png" medium="image" />

		<media:content url="http://www.keats.me.uk/wp-content/uploads/2009/06/ReSharperTestRunnerSuccess.png" medium="image" />

		<media:content url="http://www.testdriven.net/images/qs_AdHoc.png" medium="image" />

		<media:content url="http://novicegeek.files.wordpress.com/2009/11/img_115618.png?w=280" medium="image">
			<media:title type="html">Img_115618</media:title>
		</media:content>
	</item>
		<item>
		<title>TDD</title>
		<link>http://novicegeek.wordpress.com/2009/10/30/tdd-intro/</link>
		<comments>http://novicegeek.wordpress.com/2009/10/30/tdd-intro/#comments</comments>
		<pubDate>Fri, 30 Oct 2009 19:02:23 +0000</pubDate>
		<dc:creator>novicegeek</dc:creator>
				<category><![CDATA[Unit Testing]]></category>

		<guid isPermaLink="false">http://novicegeek.wordpress.com/?p=8</guid>
		<description><![CDATA[Hello World, Currently i am concentrating on Unit testing part of my project. So i am planning to write some series (hopefully about 4 to 5 post) about TDD, available TDD frameworks, unit testing with those frameworks, etc. So, What is TDD???? Test Driven Development is a software development technique that involves in writing a [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=novicegeek.wordpress.com&amp;blog=9546920&amp;post=8&amp;subd=novicegeek&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<div>Hello World,</div>
<p>Currently i am concentrating on Unit testing part of my project. So i am planning to write some series (hopefully about 4 to 5 post) about TDD, available TDD frameworks, unit testing  with those frameworks, etc.</p>
<p>So, What is TDD????</p>
<p><strong><em>T</em></strong><em>est </em><strong><em>D</em></strong><em>riven </em><strong><em>D</em></strong><em>evelopment</em> is a software development technique that involves in writing a series of <em>test cases</em> against a small unit of a program. Small unit of the program may be a <em>method</em> or a procedure (For procedural programming like C#).</p>
<p>Here the developer will write the series of test cases against their methods. The test cases are written with the fake test datas and tested with the <em>Assertion</em> class to return the True/ False  value to tell either the test is passed/ failed.</p>
<p>At first, the method is filled with code blocks which are simple enough to make the test to pass.Then refactoring is done, and again testing continues.</p>
<p><strong>Steps of TDD:</strong></p>
<div class="wp-caption aligncenter" style="width: 244px"><a href="http://upload.wikimedia.org/wikipedia/en/9/9c/Test-driven_development.PNG" target="_blank"><img class="     " style="margin-top:1px;margin-bottom:1px;border:1px solid black;" title="TDD Flow Chart" src="http://upload.wikimedia.org/wikipedia/en/9/9c/Test-driven_development.PNG" alt="" width="234" height="168" /></a><p class="wp-caption-text">TDD Flow Chart</p></div>
<p style="text-align:center;">
<p>The flow chart (Referenced from wikipedia) attached shows the various steps involved in TDD.</p>
<p>1. Firs step is to write a test for our method(Imaginary method). Surely it will fails since we have&#8217;nt created any method stub for that yet.</p>
<p><em>[P.S: Trust me guys, at first this step seems to be funny but after you get used to it you will know its value. It really improves your confidance towards the requirement and code quality.]</em></p>
<p>2. After it fails create the method stub and appropriate production code and test it again. Run the test.</p>
<p>3. Repeat the above process till the test get passed and the requirement is fulfilled.</p>
<p>4. Refactor the code based on the specifications and make it to pass the tests.</p>
<p>&nbsp;</p>
<p>This method makes the code cleaner and clearer. These unit test remain as a great <em>documentation</em> for other/ new developer who is going to work on the project.</p>
<p>UML diagrams wont make the developers to follow their design but unit testing makes it possible. The automated build will use these test cases will reveal the stability of the build. Unit testing ensures the all the code changes are correct and working fine.</p>
<p>So i guess thats enough for the introduction for the TDD. In my next post i will explain about the various unit testing frameworks available for use.</p>
<p>
Hope you all like this!</p>
<p>-Pradeep.</p>
<br />Posted in Unit Testing  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/novicegeek.wordpress.com/8/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/novicegeek.wordpress.com/8/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/novicegeek.wordpress.com/8/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/novicegeek.wordpress.com/8/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/novicegeek.wordpress.com/8/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/novicegeek.wordpress.com/8/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/novicegeek.wordpress.com/8/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/novicegeek.wordpress.com/8/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/novicegeek.wordpress.com/8/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/novicegeek.wordpress.com/8/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/novicegeek.wordpress.com/8/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/novicegeek.wordpress.com/8/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/novicegeek.wordpress.com/8/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/novicegeek.wordpress.com/8/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=novicegeek.wordpress.com&amp;blog=9546920&amp;post=8&amp;subd=novicegeek&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://novicegeek.wordpress.com/2009/10/30/tdd-intro/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/5f2783477be5e2f8bbb5527ede641804?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">novicegeek</media:title>
		</media:content>

		<media:content url="http://upload.wikimedia.org/wikipedia/en/9/9c/Test-driven_development.PNG" medium="image">
			<media:title type="html">TDD Flow Chart</media:title>
		</media:content>
	</item>
		<item>
		<title>Console.WriteLine(&#8220;Hello World!&#8221;);</title>
		<link>http://novicegeek.wordpress.com/2009/09/19/helloworld/</link>
		<comments>http://novicegeek.wordpress.com/2009/09/19/helloworld/#comments</comments>
		<pubDate>Sat, 19 Sep 2009 02:57:19 +0000</pubDate>
		<dc:creator>novicegeek</dc:creator>
				<category><![CDATA[Others]]></category>

		<guid isPermaLink="false">http://novicegeek.wordpress.com/?p=3</guid>
		<description><![CDATA[Hi, This is Pradeep. This is my first blog and my first blog post(like the hello world program)! This blog is dedicated to all tech geeks who had enlighten me and making me to learn each day in out with the cool new technology stuffs and .net nooks. Now its my turn to contribute and [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=novicegeek.wordpress.com&amp;blog=9546920&amp;post=3&amp;subd=novicegeek&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Hi,</p>
<p>This is Pradeep. This is my first blog and my first blog post(like the hello world program)!</p>
<p>This blog is dedicated to all tech geeks who had enlighten me and making me to learn each day in out with the cool new<em> technology</em> stuffs and <em>.net</em> nooks. Now its my turn to contribute and share to this world about the things i know and learnd.</p>
<p>Since i am novice a and an upcoming geek your views, ideas are always welcome. Please point me out if i go wrong in any place!</p>
<p>Hope to post a lot!</p>
<p>-Pradeep</p>
<br />Posted in Others  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/novicegeek.wordpress.com/3/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/novicegeek.wordpress.com/3/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/novicegeek.wordpress.com/3/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/novicegeek.wordpress.com/3/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/novicegeek.wordpress.com/3/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/novicegeek.wordpress.com/3/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/novicegeek.wordpress.com/3/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/novicegeek.wordpress.com/3/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/novicegeek.wordpress.com/3/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/novicegeek.wordpress.com/3/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/novicegeek.wordpress.com/3/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/novicegeek.wordpress.com/3/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/novicegeek.wordpress.com/3/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/novicegeek.wordpress.com/3/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=novicegeek.wordpress.com&amp;blog=9546920&amp;post=3&amp;subd=novicegeek&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://novicegeek.wordpress.com/2009/09/19/helloworld/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/5f2783477be5e2f8bbb5527ede641804?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">novicegeek</media:title>
		</media:content>
	</item>
	</channel>
</rss>
