<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	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/"
		>
<channel>
	<title>Comments for Miško Hevery</title>
	<atom:link href="http://misko.hevery.com/comments/feed/" rel="self" type="application/rss+xml" />
	<link>http://misko.hevery.com</link>
	<description>Testability Explorer</description>
	<lastBuildDate>Sat, 20 Apr 2013 14:12:18 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
	<item>
		<title>Comment on Singletons are Pathological Liars by Leonel Machava</title>
		<link>http://misko.hevery.com/2008/08/17/singletons-are-pathological-liars/comment-page-2/#comment-72041</link>
		<dc:creator>Leonel Machava</dc:creator>
		<pubDate>Sat, 20 Apr 2013 14:12:18 +0000</pubDate>
		<guid isPermaLink="false">http://misko.hevery.com/?p=162#comment-72041</guid>
		<description>I had never thought on the evil side of using singletons. This article give me a very good insight and intuition to better understand &quot;dependency injection&quot; stuff.
Thank you.</description>
		<content:encoded><![CDATA[<p>I had never thought on the evil side of using singletons. This article give me a very good insight and intuition to better understand &#8220;dependency injection&#8221; stuff.<br />
Thank you.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Static Methods are Death to Testability by James Kim</title>
		<link>http://misko.hevery.com/2008/12/15/static-methods-are-death-to-testability/comment-page-1/#comment-68309</link>
		<dc:creator>James Kim</dc:creator>
		<pubDate>Mon, 08 Apr 2013 18:01:49 +0000</pubDate>
		<guid isPermaLink="false">http://misko.hevery.com/?p=352#comment-68309</guid>
		<description>I would argue that, with mocks, you should be able to test static methods with relative ease. If a static method does have a dependency to another static method, the mocked dependencies should flow over to these methods, so unless the application is using global state (which also should be mockable, in any case), it should be relatively facile.</description>
		<content:encoded><![CDATA[<p>I would argue that, with mocks, you should be able to test static methods with relative ease. If a static method does have a dependency to another static method, the mocked dependencies should flow over to these methods, so unless the application is using global state (which also should be mockable, in any case), it should be relatively facile.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Guide: Writing Testable Code by Sudhir</title>
		<link>http://misko.hevery.com/code-reviewers-guide/comment-page-2/#comment-68119</link>
		<dc:creator>Sudhir</dc:creator>
		<pubDate>Mon, 08 Apr 2013 05:36:31 +0000</pubDate>
		<guid isPermaLink="false">http://misko.hevery.com/?page_id=310#comment-68119</guid>
		<description>Regarding // No Arg Constructor required by API
It is possible to define some quality related annotations, e.g. @OnlyForContainer @OnlyForJpa etc and annotate the no args constructor with these quality annotations, so that it is evident to a developer not to use them directly.</description>
		<content:encoded><![CDATA[<p>Regarding // No Arg Constructor required by API<br />
It is possible to define some quality related annotations, e.g. @OnlyForContainer @OnlyForJpa etc and annotate the no args constructor with these quality annotations, so that it is evident to a developer not to use them directly.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on To &#8220;new&#8221; or not to &#8220;new&#8221;&#8230; by Casey</title>
		<link>http://misko.hevery.com/2008/09/30/to-new-or-not-to-new/comment-page-1/#comment-64936</link>
		<dc:creator>Casey</dc:creator>
		<pubDate>Thu, 28 Mar 2013 14:46:11 +0000</pubDate>
		<guid isPermaLink="false">http://misko.hevery.com/?p=246#comment-64936</guid>
		<description>Hi,

I have  a long chain like E(D(C(B(A)))))

E is the interface, A is a provider/factory.

I need to pass paths and other details to A to trigger  the chain resulting in E objects.  How do I get a shared_pointer to A from the interface at E?</description>
		<content:encoded><![CDATA[<p>Hi,</p>
<p>I have  a long chain like E(D(C(B(A)))))</p>
<p>E is the interface, A is a provider/factory.</p>
<p>I need to pass paths and other details to A to trigger  the chain resulting in E objects.  How do I get a shared_pointer to A from the interface at E?</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on How JavaScript Works by Mani</title>
		<link>http://misko.hevery.com/2010/07/14/how-javascript-works/comment-page-1/#comment-64078</link>
		<dc:creator>Mani</dc:creator>
		<pubDate>Mon, 25 Mar 2013 06:03:55 +0000</pubDate>
		<guid isPermaLink="false">http://misko.hevery.com/?p=625#comment-64078</guid>
		<description>Hi Misko,

Very good info indeed. Can you enable downloading the presentation in PDF format. It is not working

Thanks,
Mani</description>
		<content:encoded><![CDATA[<p>Hi Misko,</p>
<p>Very good info indeed. Can you enable downloading the presentation in PDF format. It is not working</p>
<p>Thanks,<br />
Mani</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Testing UI &#8211; part 1 by Constructor Injection vs. Setter Injection &#124; TechInterviewPrep</title>
		<link>http://misko.hevery.com/2008/07/05/testing-ui-part1/comment-page-1/#comment-61321</link>
		<dc:creator>Constructor Injection vs. Setter Injection &#124; TechInterviewPrep</dc:creator>
		<pubDate>Sat, 09 Mar 2013 23:01:06 +0000</pubDate>
		<guid isPermaLink="false">http://s90424825.onlinehome.us/blog/?p=36#comment-61321</guid>
		<description>[...] I was building a Flex application and using the Model-View-Controller. Flex XML markup requires that components must have no argument constructors, therefore I was [...]</description>
		<content:encoded><![CDATA[<p>[...] I was building a Flex application and using the Model-View-Controller. Flex XML markup requires that components must have no argument constructors, therefore I was [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Circular Dependency in constructors and Dependency Injection by Constructor Injection vs. Setter Injection &#124; TechInterviewPrep</title>
		<link>http://misko.hevery.com/2008/08/01/circular-dependency-in-constructors-and-dependency-injection/comment-page-1/#comment-61319</link>
		<dc:creator>Constructor Injection vs. Setter Injection &#124; TechInterviewPrep</dc:creator>
		<pubDate>Sat, 09 Mar 2013 23:00:37 +0000</pubDate>
		<guid isPermaLink="false">http://misko.hevery.com/?p=146#comment-61319</guid>
		<description>[...] it a winner. Constructor-injection enforces the order of initialization and prevents circular dependencies. With setter-injection it is not clear in which order things need to be instantiated and when the [...]</description>
		<content:encoded><![CDATA[<p>[...] it a winner. Constructor-injection enforces the order of initialization and prevents circular dependencies. With setter-injection it is not clear in which order things need to be instantiated and when the [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on About Miško Hevery by Unit Test: JUnit 4 and Mockito &#124; gokceng</title>
		<link>http://misko.hevery.com/about/comment-page-1/#comment-61178</link>
		<dc:creator>Unit Test: JUnit 4 and Mockito &#124; gokceng</dc:creator>
		<pubDate>Fri, 08 Mar 2013 19:11:52 +0000</pubDate>
		<guid isPermaLink="false">http://s90424825.onlinehome.us/blog/?page_id=6#comment-61178</guid>
		<description>[...] tests. In fact if you are here, then you know the importance of it. You can (and should) read from Miško Hevery&#8216;s blog. He is fantastic and he has valuable thoughts on testing. I&#8217;m stopping talking [...]</description>
		<content:encoded><![CDATA[<p>[...] tests. In fact if you are here, then you know the importance of it. You can (and should) read from Miško Hevery&#8216;s blog. He is fantastic and he has valuable thoughts on testing. I&#8217;m stopping talking [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Ask! by Varun Achar</title>
		<link>http://misko.hevery.com/your-suggestions/comment-page-5/#comment-58822</link>
		<dc:creator>Varun Achar</dc:creator>
		<pubDate>Thu, 07 Feb 2013 07:02:28 +0000</pubDate>
		<guid isPermaLink="false">http://misko.hevery.com/?page_id=122#comment-58822</guid>
		<description>Hi Misko,

Should one write separate unit tests for controllers, services and daos using mocks when we know that the service and dao are going to be called and hence tested from the controller anyway?

I know that it violates separation of concerns rule if i only write the controller tests, but creating valid domain mocks for the tests is a real time killer.

So should I write separate tests for controllers, services &amp; daos or can this be avoided?

Thanks
Varun</description>
		<content:encoded><![CDATA[<p>Hi Misko,</p>
<p>Should one write separate unit tests for controllers, services and daos using mocks when we know that the service and dao are going to be called and hence tested from the controller anyway?</p>
<p>I know that it violates separation of concerns rule if i only write the controller tests, but creating valid domain mocks for the tests is a real time killer.</p>
<p>So should I write separate tests for controllers, services &amp; daos or can this be avoided?</p>
<p>Thanks<br />
Varun</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Ask! by Ramon Chiara</title>
		<link>http://misko.hevery.com/your-suggestions/comment-page-5/#comment-58299</link>
		<dc:creator>Ramon Chiara</dc:creator>
		<pubDate>Fri, 01 Feb 2013 15:43:18 +0000</pubDate>
		<guid isPermaLink="false">http://misko.hevery.com/?page_id=122#comment-58299</guid>
		<description>Hi Misko,

Thanks for all shared information!
I&#039;ve learned a lot from you!

While reading your guide &quot;Writing Testable Code&quot; I asked myself if you aren&#039;t thinking about developing a Sonar plugin to check the flaws you mentioned. What do you think?

Cheers,
Ramon</description>
		<content:encoded><![CDATA[<p>Hi Misko,</p>
<p>Thanks for all shared information!<br />
I&#8217;ve learned a lot from you!</p>
<p>While reading your guide &#8220;Writing Testable Code&#8221; I asked myself if you aren&#8217;t thinking about developing a Sonar plugin to check the flaws you mentioned. What do you think?</p>
<p>Cheers,<br />
Ramon</p>
]]></content:encoded>
	</item>
</channel>
</rss>
