<?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-1664217632350055880.post8576876761767361973..comments</id><updated>2010-01-24T07:18:05.082-07:00</updated><category term='SOLID'/><category term='Personal'/><category term='Rx Framework'/><category term='Vista'/><category term='Visual Studio'/><category term='ASP.NET Providers Series'/><category term='Microsoft'/><category term='Mocking'/><category term='SQL'/><category term='MSP'/><category term='Virtual Store'/><category term='GUID'/><category term='Samba'/><category term='Dependency Injection'/><category term='Nothin But .NET'/><category term='BizTalk'/><category term='Prerequisites'/><category term='UI'/><category term='Build'/><category term='Encryption'/><category term='Windows'/><category term='Security'/><category term='MSI'/><category term='ISAPI'/><category term='Webinar/Screencast'/><category term='ASP.NET'/><category term='Web'/><category term='Testing'/><category term='Quote'/><category term='Anagram Code Kata Series'/><category term='Deployment and Installers'/><category term='Winbind'/><category term='Orca'/><category term='Community'/><category term='PowerShell'/><category term='BDD'/><category term='Patching/Updating'/><category term='Macro'/><category term='Isolated Storage'/><category term='Humor'/><category term='Error'/><category term='Bootstrapper'/><category term='Events'/><category term='Virtual Machine'/><category term='Threading'/><category term='LINQ'/><category term='Windows Forms'/><category term='Apprenticeships'/><category term='jQuery'/><category term='VMWare'/><category term='MSpec'/><category term='Office'/><category term='MVC Pattern'/><category term='Monads'/><category term='C/C++'/><category term='XML'/><category term='Recursion'/><category term='PAM'/><category term='F#'/><category term='FubuMVC'/><category term='Kerberos'/><category term='MSBuild'/><category term='VB'/><category term='Java'/><category term='Algorithms'/><category term='Registry'/><category term='IIS'/><category term='Add/Remove Programs'/><category term='Develop With Passion'/><category term='Delegates'/><category term='C#'/><category term='New Technology'/><category term='Conferences'/><category term='Behavior Chains'/><category term='News and Politics'/><category term='Functional Programming'/><category term='Active Directory'/><category term='Database'/><category term='Launch Condition'/><category term='Linux'/><category term='Code Organization'/><category term='Maybe Monad'/><category term='Server 2008'/><category term='JavaScript'/><category term='Entity Framework'/><category term='.NET'/><category term='Silverlight'/><title type='text'>Comments on Murray on .NET: Anagram Code Kata Part 3 – Use Common Sense</title><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://murrayon.net/feeds/8576876761767361973/comments/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1664217632350055880/8576876761767361973/comments/default'/><link rel='alternate' type='text/html' href='http://murrayon.net/2009/12/anagram-code-kata-part-3-use-common.html'/><author><name>Michael Murray</name><uri>https://profiles.google.com/109073345657761090655</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='32' height='32' src='//lh5.googleusercontent.com/-Xf7Ccmz4FCQ/AAAAAAAAAAI/AAAAAAAAAGU/jOfxxMc1Lxo/s512-c/photo.jpg'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>2</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>25</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-1664217632350055880.post-9038024817103460705</id><published>2009-12-25T05:20:13.680-07:00</published><updated>2009-12-25T05:20:13.680-07:00</updated><title type='text'>Hi Mike,

In terms of the stubbing vs. asserting a...</title><content type='html'>Hi Mike,&lt;br /&gt;&lt;br /&gt;In terms of the stubbing vs. asserting a method was called, the team I&amp;#39;m on has found we rarely AssertWasCalled any more. Doing so explicitly couples our tests/specs to the implementation, whereas just stubbing calls in a SetUp seems easier to change without altering the fundamental assertions in our tests. &lt;br /&gt;&lt;br /&gt;The only time we use AssertWasCalled is for void methods to a service or similar where there is no observable side-effect from a unit perspective.&lt;br /&gt;&lt;br /&gt;YMMV. :)&lt;br /&gt;&lt;br /&gt;Regards,&lt;br /&gt;David</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1664217632350055880/8576876761767361973/comments/default/9038024817103460705'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1664217632350055880/8576876761767361973/comments/default/9038024817103460705'/><link rel='alternate' type='text/html' href='http://murrayon.net/2009/12/anagram-code-kata-part-3-use-common.html?showComment=1261743613680#c9038024817103460705' title=''/><author><name>David</name><uri>http://www.blogger.com/profile/05155410712205848106</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='32' height='32' src='http://4.bp.blogspot.com/_wEsHWMWy090/SmMWL7hvCvI/AAAAAAAABRU/9sEncB940D0/S220/SimpsonsDave3.png'/></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://murrayon.net/2009/12/anagram-code-kata-part-3-use-common.html' ref='tag:blogger.com,1999:blog-1664217632350055880.post-8576876761767361973' source='http://www.blogger.com/feeds/1664217632350055880/posts/default/8576876761767361973' type='text/html'/><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='blogger.itemClass' value='pid-995875330'/></entry><entry><id>tag:blogger.com,1999:blog-1664217632350055880.post-8271522524728507770</id><published>2009-12-19T04:13:31.301-07:00</published><updated>2009-12-19T04:13:31.301-07:00</updated><title type='text'>Hi Mike,

great you continued this series.

I thin...</title><content type='html'>Hi Mike,&lt;br /&gt;&lt;br /&gt;great you continued this series.&lt;br /&gt;&lt;br /&gt;I think I messed things up and wrote incorrect things. In the meantime I managed to do this kata again and now I agree with you. Just forget my advice to mock it - this was wrong.&lt;br /&gt;&lt;br /&gt;However, I and my coworkers question if it&amp;#39;s worth to write 30 lines of code to test a 2-lines-method? I think for this kata it will be enough to do some acceptance tests here.</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1664217632350055880/8576876761767361973/comments/default/8271522524728507770'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1664217632350055880/8576876761767361973/comments/default/8271522524728507770'/><link rel='alternate' type='text/html' href='http://murrayon.net/2009/12/anagram-code-kata-part-3-use-common.html?showComment=1261221211301#c8271522524728507770' title=''/><author><name>Tobias Walter</name><uri>http://www.blogger.com/profile/00608224689808794198</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='32' height='32' src='http://2.bp.blogspot.com/_w-DCOVT1BMQ/Si_tPWHXRAI/AAAAAAAAAFs/3ojWLbUetl8/S220/photo.png'/></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://murrayon.net/2009/12/anagram-code-kata-part-3-use-common.html' ref='tag:blogger.com,1999:blog-1664217632350055880.post-8576876761767361973' source='http://www.blogger.com/feeds/1664217632350055880/posts/default/8576876761767361973' type='text/html'/><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='blogger.itemClass' value='pid-1497201309'/></entry></feed>
