<?xml version='1.0' encoding='UTF-8'?><?xml-stylesheet href="http://www.blogger.com/styles/atom.css" type="text/css"?><feed xmlns='http://www.w3.org/2005/Atom' xmlns:openSearch='http://a9.com/-/spec/opensearchrss/1.0/'><id>tag:blogger.com,1999:blog-3884961837046000063.post145837185678509909..comments</id><updated>2010-02-22T17:48:41.226-08:00</updated><category term='C#'/><category term='LINQ'/><category term='MESH'/><category term='SQL'/><category term='Unit Test'/><category term='.NET 4.0'/><category term='PDC'/><category term='Standards'/><category term='Patterns'/><category term='WPF'/><category term='Azure'/><category term='Visual Studio 2010'/><category term='Silverlight'/><category term='.NET'/><category term='Speaking'/><category term='Windows 7'/><title type='text'>Comments on Notes in Modern Programming: Unit Tests and the PrivateObject, Part 1</title><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://www.joeseymour.net/feeds/145837185678509909/comments/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3884961837046000063/145837185678509909/comments/default'/><link rel='alternate' type='text/html' href='http://www.joeseymour.net/2009/11/unit-tests-and-privateobject-part-1.html'/><author><name>Joe Seymour</name><uri>http://www.blogger.com/profile/12576454039878301947</uri><email>noreply@blogger.com</email><gd:image xmlns:gd='http://schemas.google.com/g/2005' rel='http://schemas.google.com/g/2005#thumbnail' width='31' height='21' src='http://1.bp.blogspot.com/_GoKl4mvOMtw/SX-5x0dEHNI/AAAAAAAADpM/-Az4cYgHGDQ/S220/DSC_0775.JPG'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>4</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>25</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-3884961837046000063.post-1657941637891661250</id><published>2010-02-22T17:48:41.226-08:00</published><updated>2010-02-22T17:48:41.226-08:00</updated><title type='text'>would you be kind and post some example code? I am...</title><content type='html'>would you be kind and post some example code? I am doing unit testing with VS2008 and yes, I am testing private methods and I am using Accessor. &lt;br /&gt;Public void method is populating a private field. I can not get the values in my test code...</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3884961837046000063/145837185678509909/comments/default/1657941637891661250'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3884961837046000063/145837185678509909/comments/default/1657941637891661250'/><link rel='alternate' type='text/html' href='http://www.joeseymour.net/2009/11/unit-tests-and-privateobject-part-1.html?showComment=1266889721226#c1657941637891661250' title=''/><author><name>Moez Mousavi</name><uri>http://www.blogger.com/profile/04937784408546629937</uri><email>noreply@blogger.com</email><gd:image xmlns:gd='http://schemas.google.com/g/2005' rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://www.joeseymour.net/2009/11/unit-tests-and-privateobject-part-1.html' ref='tag:blogger.com,1999:blog-3884961837046000063.post-145837185678509909' source='http://www.blogger.com/feeds/3884961837046000063/posts/default/145837185678509909' type='text/html'/><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='blogger.itemClass' value='pid-423940948'/></entry><entry><id>tag:blogger.com,1999:blog-3884961837046000063.post-1587100746949338931</id><published>2009-11-04T17:20:39.771-08:00</published><updated>2009-11-04T17:20:39.771-08:00</updated><title type='text'>Yeah, pretty much.. If your functionality in the p...</title><content type='html'>Yeah, pretty much.. If your functionality in the private methods is so complex or has so many side-effects that you don&amp;#39;t think that testing the classes surface area covers them adequately, then the private methods are already violating the Single Responsibility Principle and probably should become a separate dependency for your class and those be tested as that separate class.</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3884961837046000063/145837185678509909/comments/default/1587100746949338931'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3884961837046000063/145837185678509909/comments/default/1587100746949338931'/><link rel='alternate' type='text/html' href='http://www.joeseymour.net/2009/11/unit-tests-and-privateobject-part-1.html?showComment=1257384039771#c1587100746949338931' title=''/><author><name>ether</name><uri>http://www.blogger.com/profile/16911611449176929088</uri><email>noreply@blogger.com</email><gd:image xmlns:gd='http://schemas.google.com/g/2005' rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://www.joeseymour.net/2009/11/unit-tests-and-privateobject-part-1.html' ref='tag:blogger.com,1999:blog-3884961837046000063.post-145837185678509909' source='http://www.blogger.com/feeds/3884961837046000063/posts/default/145837185678509909' type='text/html'/><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='blogger.itemClass' value='pid-1344071088'/></entry><entry><id>tag:blogger.com,1999:blog-3884961837046000063.post-2987486189376655063</id><published>2009-11-04T15:29:29.666-08:00</published><updated>2009-11-04T15:29:29.666-08:00</updated><title type='text'>so, no unit tests for private methods?</title><content type='html'>so, no unit tests for private methods?</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3884961837046000063/145837185678509909/comments/default/2987486189376655063'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3884961837046000063/145837185678509909/comments/default/2987486189376655063'/><link rel='alternate' type='text/html' href='http://www.joeseymour.net/2009/11/unit-tests-and-privateobject-part-1.html?showComment=1257377369666#c2987486189376655063' title=''/><author><name>Joe Seymour</name><uri>http://www.blogger.com/profile/12576454039878301947</uri><email>noreply@blogger.com</email><gd:image xmlns:gd='http://schemas.google.com/g/2005' rel='http://schemas.google.com/g/2005#thumbnail' width='31' height='21' src='http://1.bp.blogspot.com/_GoKl4mvOMtw/SX-5x0dEHNI/AAAAAAAADpM/-Az4cYgHGDQ/S220/DSC_0775.JPG'/></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://www.joeseymour.net/2009/11/unit-tests-and-privateobject-part-1.html' ref='tag:blogger.com,1999:blog-3884961837046000063.post-145837185678509909' source='http://www.blogger.com/feeds/3884961837046000063/posts/default/145837185678509909' type='text/html'/><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='blogger.itemClass' value='pid-857411052'/></entry><entry><id>tag:blogger.com,1999:blog-3884961837046000063.post-8640505987296983805</id><published>2009-11-04T15:27:26.330-08:00</published><updated>2009-11-04T15:27:26.330-08:00</updated><title type='text'>A unit test is supposed to be testing the public s...</title><content type='html'>A unit test is supposed to be testing the public surface of an object. If you have reach into its private parts, I&amp;#39;d call that a problem with the design.</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3884961837046000063/145837185678509909/comments/default/8640505987296983805'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3884961837046000063/145837185678509909/comments/default/8640505987296983805'/><link rel='alternate' type='text/html' href='http://www.joeseymour.net/2009/11/unit-tests-and-privateobject-part-1.html?showComment=1257377246330#c8640505987296983805' title=''/><author><name>ether</name><uri>http://www.blogger.com/profile/16911611449176929088</uri><email>noreply@blogger.com</email><gd:image xmlns:gd='http://schemas.google.com/g/2005' rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://www.joeseymour.net/2009/11/unit-tests-and-privateobject-part-1.html' ref='tag:blogger.com,1999:blog-3884961837046000063.post-145837185678509909' source='http://www.blogger.com/feeds/3884961837046000063/posts/default/145837185678509909' type='text/html'/><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='blogger.itemClass' value='pid-1344071088'/></entry></feed>
