<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="http://weblogs.asp.net/utility/FeedStylesheets/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>Data Layer Testing: Test Inheritance Patterns</title><link>http://weblogs.asp.net/rosherove/archive/2007/11/28/data-layer-testing-test-inheritance-patterns.aspx</link><description>I'm preparing for my tutorial on Database and Data Layer unit testing that I will be giving at the Agile Practices Conference&amp;#160; next week. It's always nice to have a full 3 hours to get pretty deep into something. 75 minutes just isn't enough to grasp</description><dc:language>en</dc:language><generator>CommunityServer 2007 SP1 (Build: 20510.895)</generator><item><title>re: Data Layer Testing: Test Inheritance Patterns</title><link>http://weblogs.asp.net/rosherove/archive/2007/11/28/data-layer-testing-test-inheritance-patterns.aspx#5478870</link><pubDate>Thu, 20 Dec 2007 15:25:40 GMT</pubDate><guid isPermaLink="false">c06e2b9d-981a-45b4-a55f-ab0d8bbfdc1c:5478870</guid><dc:creator>RoyOsherove</dc:creator><author>RoyOsherove</author><description>&lt;p&gt;Jason:&lt;/p&gt;
&lt;p&gt;either you derive and implement the abstract method with nothing in the body, or create a separate utility class for your scenarios..&lt;/p&gt;
&lt;img src="http://weblogs.asp.net/aggbug.aspx?PostID=5478870" width="1" height="1"&gt;</description></item><item><title>re: Data Layer Testing: Test Inheritance Patterns</title><link>http://weblogs.asp.net/rosherove/archive/2007/11/28/data-layer-testing-test-inheritance-patterns.aspx#5478659</link><pubDate>Thu, 20 Dec 2007 14:37:29 GMT</pubDate><guid isPermaLink="false">c06e2b9d-981a-45b4-a55f-ab0d8bbfdc1c:5478659</guid><dc:creator>Jason</dc:creator><author>Jason</author><description>&lt;p&gt;Yes, I am rolling everything back using what you call an &amp;quot;Abstract Utility Class&amp;quot;. Our data layer uses the common approach of passing a generic type to provide CRUD functionality &amp;quot;for free&amp;quot; for a given entity. My question is really about YAGNI - should I write a test for functionality that I don&amp;#39;t currently need? &lt;/p&gt;
&lt;img src="http://weblogs.asp.net/aggbug.aspx?PostID=5478659" width="1" height="1"&gt;</description></item><item><title>Elegant Code &amp;raquo; But the tests passed on my machine&amp;#8230;</title><link>http://weblogs.asp.net/rosherove/archive/2007/11/28/data-layer-testing-test-inheritance-patterns.aspx#5475736</link><pubDate>Thu, 20 Dec 2007 02:05:10 GMT</pubDate><guid isPermaLink="false">c06e2b9d-981a-45b4-a55f-ab0d8bbfdc1c:5475736</guid><dc:creator>Elegant Code » But the tests passed on my machine…</dc:creator><author>Elegant Code » But the tests passed on my machine…</author><description>&lt;p&gt;Pingback from &amp;nbsp;Elegant Code &amp;amp;raquo; But the tests passed on my machine&amp;amp;#8230;&lt;/p&gt;
&lt;img src="http://weblogs.asp.net/aggbug.aspx?PostID=5475736" width="1" height="1"&gt;</description></item><item><title>re: Data Layer Testing: Test Inheritance Patterns</title><link>http://weblogs.asp.net/rosherove/archive/2007/11/28/data-layer-testing-test-inheritance-patterns.aspx#5473501</link><pubDate>Wed, 19 Dec 2007 16:32:13 GMT</pubDate><guid isPermaLink="false">c06e2b9d-981a-45b4-a55f-ab0d8bbfdc1c:5473501</guid><dc:creator>Jason</dc:creator><author>Jason</author><description>&lt;p&gt;I have a question about the second and third patterns. Should I test delete for example if currently my application doesn&amp;#39;t need to delete the entity?&lt;/p&gt;
&lt;img src="http://weblogs.asp.net/aggbug.aspx?PostID=5473501" width="1" height="1"&gt;</description></item><item><title>The Daily Find #7 - TechToolBlog</title><link>http://weblogs.asp.net/rosherove/archive/2007/11/28/data-layer-testing-test-inheritance-patterns.aspx#5373997</link><pubDate>Thu, 29 Nov 2007 14:10:02 GMT</pubDate><guid isPermaLink="false">c06e2b9d-981a-45b4-a55f-ab0d8bbfdc1c:5373997</guid><dc:creator>The Daily Find #7 - TechToolBlog</dc:creator><author>The Daily Find #7 - TechToolBlog</author><description>&lt;p&gt;Pingback from &amp;nbsp;The Daily Find #7 - TechToolBlog&lt;/p&gt;
&lt;img src="http://weblogs.asp.net/aggbug.aspx?PostID=5373997" width="1" height="1"&gt;</description></item></channel></rss>