<?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>Eric Polerecky &#187; TDD</title>
	<atom:link href="http://eric.polerecky.com/archives/category/tdd/feed/" rel="self" type="application/rss+xml" />
	<link>http://eric.polerecky.com</link>
	<description>An outlet for my obsession with technology</description>
	<lastBuildDate>Wed, 08 Sep 2010 21:18:46 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1</generator>
		<item>
		<title>Validating DataAnnotations</title>
		<link>http://eric.polerecky.com/archives/validating-dataannotations/</link>
		<comments>http://eric.polerecky.com/archives/validating-dataannotations/#comments</comments>
		<pubDate>Thu, 26 Nov 2009 16:51:00 +0000</pubDate>
		<dc:creator>Eric Polerecky</dc:creator>
				<category><![CDATA[ASP.NET MVC]]></category>
		<category><![CDATA[DataAnnotations]]></category>
		<category><![CDATA[ModelBinders]]></category>
		<category><![CDATA[TDD]]></category>

		<guid isPermaLink="false">http://eric.polerecky.com/archives/validating-dataannotations/</guid>
		<description><![CDATA[public static IList&#60;String&#62; GetClassLevelErrors(object instance){ return TypeDescriptor.GetAttributes(instance).OfType&#60;ValidationAttribute&#62;() .Where(attribute =&#62; !attribute.IsValid(instance)) .Select(attribute =&#62; attribute.FormatErrorMessage(string.Empty)) .ToList();} [TestMethod]public void TestMethod1(){ var prop = typeof (DataAnnotationsModelBinderSpike.Models.Contact).GetProperty(&#34;First&#34;); var attrib = prop.GetCustomAttributes(true).Cast&#60;RequiredAttribute&#62;().FirstOrDefault(); Assert.IsNotNull(attrib);} No related posts.


No related posts.]]></description>
			<content:encoded><![CDATA[<div style="border-bottom: silver 1px solid; text-align: left; border-left: silver 1px solid; padding-bottom: 4px; line-height: 12pt; background-color: #f4f4f4; margin: 20px 0px 10px; padding-left: 4px; width: 97.5%; padding-right: 4px; font-family: &#39;Courier New&#39;, courier, monospace; direction: ltr; max-height: 200px; font-size: 8pt; overflow: auto; border-top: silver 1px solid; cursor: text; border-right: silver 1px solid; padding-top: 4px" id="codeSnippetWrapper">
<pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; border-right-style: none; background-color: #f4f4f4; margin: 0em; padding-left: 0px; width: 100%; padding-right: 0px; font-family: &#39;Courier New&#39;, courier, monospace; direction: ltr; border-top-style: none; color: black; font-size: 8pt; border-left-style: none; overflow: visible; padding-top: 0px" id="codeSnippet"><span style="color: #0000ff">public</span> <span style="color: #0000ff">static</span> IList&lt;String&gt; GetClassLevelErrors(<span style="color: #0000ff">object</span> instance){    <span style="color: #0000ff">return</span> TypeDescriptor.GetAttributes(instance).OfType&lt;ValidationAttribute&gt;()        .Where(attribute =&gt; !attribute.IsValid(instance))        .Select(attribute =&gt; attribute.FormatErrorMessage(<span style="color: #0000ff">string</span>.Empty))        .ToList();}</pre>
<p></div>
<div style="border-bottom: silver 1px solid; text-align: left; border-left: silver 1px solid; padding-bottom: 4px; line-height: 12pt; background-color: #f4f4f4; margin: 20px 0px 10px; padding-left: 4px; width: 97.5%; padding-right: 4px; font-family: &#39;Courier New&#39;, courier, monospace; direction: ltr; max-height: 200px; font-size: 8pt; overflow: auto; border-top: silver 1px solid; cursor: text; border-right: silver 1px solid; padding-top: 4px" id="codeSnippetWrapper">
<pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; border-right-style: none; background-color: #f4f4f4; margin: 0em; padding-left: 0px; width: 100%; padding-right: 0px; font-family: &#39;Courier New&#39;, courier, monospace; direction: ltr; border-top-style: none; color: black; font-size: 8pt; border-left-style: none; overflow: visible; padding-top: 0px" id="codeSnippet">[TestMethod]<span style="color: #0000ff">public</span> <span style="color: #0000ff">void</span> TestMethod1(){    var prop = <span style="color: #0000ff">typeof</span> (DataAnnotationsModelBinderSpike.Models.Contact).GetProperty(<span style="color: #006080">&quot;First&quot;</span>);    var attrib = prop.GetCustomAttributes(<span style="color: #0000ff">true</span>).Cast&lt;RequiredAttribute&gt;().FirstOrDefault();    Assert.IsNotNull(attrib);}</pre>
<p></div>


<p>No related posts.</p>]]></content:encoded>
			<wfw:commentRss>http://eric.polerecky.com/archives/validating-dataannotations/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>TDD ROI Metrics</title>
		<link>http://eric.polerecky.com/archives/tdd-roi-metrics/</link>
		<comments>http://eric.polerecky.com/archives/tdd-roi-metrics/#comments</comments>
		<pubDate>Tue, 04 Aug 2009 19:02:00 +0000</pubDate>
		<dc:creator>Eric Polerecky</dc:creator>
				<category><![CDATA[TDD]]></category>
		<category><![CDATA[development]]></category>

		<guid isPermaLink="false">http://eric.polerecky.com/archives/tdd-roi-metrics/</guid>
		<description><![CDATA[Case studies were conducted with three development teams at Microsoft and one at IBM that have adopted TDD. The results of the case studies indicate that the pre-release defect density of the four products decreased between 40% and 90% relative to similar projects that did not use the TDD practice. Subjectively, the teams experienced a


No related posts.]]></description>
			<content:encoded><![CDATA[<p>Case studies were conducted with three development teams at Microsoft and one at IBM that have adopted TDD. The results of the case studies indicate that the pre-release defect density of the four products decreased between 40% and 90% relative to similar projects that did not use the TDD practice. Subjectively, the teams experienced a 15–35% increase in initial development time after adopting TDD.</p>
<p><a href="http://www.springerlink.com/content/q91566748q234325/?p=7fd98b01480f49e2925f36393c999a72&amp;pi=3">http://www.springerlink.com/content/q91566748q234325/?p=7fd98b01480f49e2925f36393c999a72&amp;pi=3</a></p>
<p><a href="http://blog.agiledad.com/2009/07/cost-of-bug.html">http://blog.agiledad.com/2009/07/cost-of-bug.html</a></p>


<p>No related posts.</p>]]></content:encoded>
			<wfw:commentRss>http://eric.polerecky.com/archives/tdd-roi-metrics/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
