<?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/"
	>

<channel>
	<title>thexpot.net &#187; NUnit</title>
	<atom:link href="http://www.thexpot.net/tag/nunit/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.thexpot.net</link>
	<description>C++ is a gift from sadists to masochists</description>
	<lastBuildDate>Wed, 16 Nov 2011 08:28:37 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>NUnit.Framework.SyntaxHelpers</title>
		<link>http://www.thexpot.net/2008/07/nunit-framework-syntaxhelpers/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=nunit-framework-syntaxhelpers</link>
		<comments>http://www.thexpot.net/2008/07/nunit-framework-syntaxhelpers/#comments</comments>
		<pubDate>Thu, 31 Jul 2008 16:19:41 +0000</pubDate>
		<dc:creator>idursun</dc:creator>
				<category><![CDATA[Yazılar]]></category>
		<category><![CDATA[Araçlar]]></category>
		<category><![CDATA[C#]]></category>
		<category><![CDATA[NUnit]]></category>

		<guid isPermaLink="false">http://www.thexpot.net/?p=122</guid>
		<description><![CDATA[<a href="http://www.thexpot.net/2008/07/nunit-framework-syntaxhelpers/" title="NUnit.Framework.SyntaxHelpers"></a>.Net&#8217;te test için NUnit&#8217;ten başka kütüphane kullanmıyorum. Uzun zamandır da 2.2 sürümünü kullanmaktaydım ve memnundum fakat geçenlerde 2.4 sürümündeki bir özellik dikkatimi çekti. NUnit.Framework.SyntaxHelpers namespace&#8217;inin altında testleri daha okunaklı kılacak bir takım yardımcı sınıflar ve metodlar eklemişler, güzel olmuş. Örneğin &#8230;<p class="read-more"><a href="http://www.thexpot.net/2008/07/nunit-framework-syntaxhelpers/">Read more &#187;</a>]]></description>
			<content:encoded><![CDATA[<a href="http://www.thexpot.net/2008/07/nunit-framework-syntaxhelpers/" title="NUnit.Framework.SyntaxHelpers"></a><p>.Net&#8217;te test için NUnit&#8217;ten başka kütüphane kullanmıyorum. Uzun zamandır da 2.2 sürümünü kullanmaktaydım ve memnundum fakat geçenlerde 2.4 sürümündeki bir özellik dikkatimi çekti.
NUnit.Framework.SyntaxHelpers namespace&#8217;inin altında testleri daha okunaklı kılacak bir takım yardımcı sınıflar ve metodlar eklemişler, güzel olmuş.
Örneğin önceden yazdığımız bu testi:</p>

<pre><code>Assert.IsNotNull(items);
Assert.AreEqual(2, items.Count);
</code></pre>

<p>artık şu şekilde yazabiliriz:</p>

<pre><code>Assert.That(items, Is.Not.Null);
Assert.That(items.Count, Is.EqualTo(2));
</code></pre>

<p>İşinize yarayabilir.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.thexpot.net/2008/07/nunit-framework-syntaxhelpers/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
	</channel>
</rss>

