<?xml version="1.0" encoding="UTF-8"?>











<rss version="2.0" xmlns:jf="http://www.jivesoftware.com/xmlns/jiveforums/rss">



<channel>
    <title>Support Forums: Message List - Article: Design to Unit Test</title>
    <link>http://www.theserverside.com</link>
    <description>Most recent forum messages</description>
    <language>en</language>
    
        <generator>Jive Forums Silver 5.5.30 (www.jivesoftware.com)</generator>
    
    <pubDate>Sun, 19 May 2013 06:21:00 -0400</pubDate>


    <item>

        <title>Re: Article: Design to Unit Test</title>
        <link>http://www.theserverside.com/discussions/thread.tss?thread_id=47691</link>

        

        
            <description><![CDATA[In fact, when you write code, precaution to be taken is simply to leave it at the disposal of the contributors and rework later. I use this system to my <A href="http://www.chat-rencontre-libertine.com">blog rencontre</A>]]></description>
        

        <pubDate>Sun, 06 Apr 2008 07:56:26 -0400</pubDate>

        

        <jf:creationDate>Sun, 06 Apr 2008 07:56:26 -0400</jf:creationDate>
        <jf:modificationDate>Sun, 06 Apr 2008 07:56:26 -0400</jf:modificationDate>
        <jf:date>Apr 6, 2008</jf:date>
        <jf:author>Loana Morgane</jf:author>
        <jf:replyCount>0</jf:replyCount>
    </item>


    <item>

        <title>A perfect solution</title>
        <link>http://www.theserverside.com/discussions/thread.tss?thread_id=47691</link>

        

        
            <description><![CDATA[<blockquote>Another variation on Option 2 is to isolate all dependencies in protected methods, and then extend the class under test, overriding the methods that have external dependencies with local mock...]]></description>
        

        <pubDate>Fri, 22 Feb 2008 22:26:00 -0500</pubDate>

        

        <jf:creationDate>Fri, 22 Feb 2008 22:26:00 -0500</jf:creationDate>
        <jf:modificationDate>Fri, 22 Feb 2008 22:26:00 -0500</jf:modificationDate>
        <jf:date>Feb 22, 2008</jf:date>
        <jf:author>ZongYin Cao</jf:author>
        <jf:replyCount>0</jf:replyCount>
    </item>


    <item>

        <title>Zongying Cao</title>
        <link>http://www.theserverside.com/discussions/thread.tss?thread_id=47691</link>

        

        
            <description><![CDATA[The good code should describe itself clearly or it should be refactored.]]></description>
        

        <pubDate>Wed, 20 Feb 2008 21:35:49 -0500</pubDate>

        

        <jf:creationDate>Wed, 20 Feb 2008 21:35:49 -0500</jf:creationDate>
        <jf:modificationDate>Wed, 20 Feb 2008 21:35:49 -0500</jf:modificationDate>
        <jf:date>Feb 20, 2008</jf:date>
        <jf:author>ZongYin Cao</jf:author>
        <jf:replyCount>0</jf:replyCount>
    </item>


    <item>

        <title>And what about team work</title>
        <link>http://www.theserverside.com/discussions/thread.tss?thread_id=47691</link>

        

        
            <description><![CDATA[Most is very logical and self-explanatory what's being written in that document, at least, it is to me. But all these theories don't solve the practical dilemma of different testing mentalities. It's all fine when everybody in the team points with their...]]></description>
        

        <pubDate>Fri, 01 Feb 2008 07:15:09 -0500</pubDate>

        

        <jf:creationDate>Fri, 01 Feb 2008 07:15:09 -0500</jf:creationDate>
        <jf:modificationDate>Fri, 01 Feb 2008 07:15:09 -0500</jf:modificationDate>
        <jf:date>Feb 1, 2008</jf:date>
        <jf:author>Mordred QV</jf:author>
        <jf:replyCount>0</jf:replyCount>
    </item>


    <item>

        <title>Re: YAGNI</title>
        <link>http://www.theserverside.com/discussions/thread.tss?thread_id=47691</link>

        

        
            <description><![CDATA[<blockquote>You are correct that JMock requires a no-arg constructor, however this is not a limitation of cglib itself. You actually have a choice here:<br><ul><br><li>provide a protected no-arg constructor</li><br></blockquote>...]]></description>
        

        <pubDate>Tue, 04 Dec 2007 12:07:30 -0500</pubDate>

        

        <jf:creationDate>Tue, 04 Dec 2007 12:07:30 -0500</jf:creationDate>
        <jf:modificationDate>Tue, 04 Dec 2007 12:07:30 -0500</jf:modificationDate>
        <jf:date>Dec 4, 2007</jf:date>
        <jf:author>Ric Wang</jf:author>
        <jf:replyCount>0</jf:replyCount>
    </item>


    <item>

        <title>Re: YAGNI</title>
        <link>http://www.theserverside.com/discussions/thread.tss?thread_id=47691</link>

        

        
            <description><![CDATA[You are correct that JMock requires a no-arg constructor, however this is not a limitation of cglib itself. You actually have a choice here:...]]></description>
        

        <pubDate>Mon, 03 Dec 2007 21:53:59 -0500</pubDate>

        

        <jf:creationDate>Mon, 03 Dec 2007 21:53:59 -0500</jf:creationDate>
        <jf:modificationDate>Mon, 03 Dec 2007 21:53:59 -0500</jf:modificationDate>
        <jf:date>Dec 3, 2007</jf:date>
        <jf:author>Larry Singer</jf:author>
        <jf:replyCount>1</jf:replyCount>
    </item>


    <item>

        <title>Re: YAGNI</title>
        <link>http://www.theserverside.com/discussions/thread.tss?thread_id=47691</link>

        

        
            <description><![CDATA[<blockquote>......]]></description>
        

        <pubDate>Sun, 02 Dec 2007 23:25:22 -0500</pubDate>

        

        <jf:creationDate>Sun, 02 Dec 2007 23:25:22 -0500</jf:creationDate>
        <jf:modificationDate>Sun, 02 Dec 2007 23:25:22 -0500</jf:modificationDate>
        <jf:date>Dec 2, 2007</jf:date>
        <jf:author>Ric Wang</jf:author>
        <jf:replyCount>2</jf:replyCount>
    </item>


    <item>

        <title>Re: YAGNI</title>
        <link>http://www.theserverside.com/discussions/thread.tss?thread_id=47691</link>

        

        
            <description><![CDATA[<blockquote>class B implements IB {<br>...<br>}...]]></description>
        

        <pubDate>Sun, 02 Dec 2007 22:42:43 -0500</pubDate>

        

        <jf:creationDate>Sun, 02 Dec 2007 22:42:43 -0500</jf:creationDate>
        <jf:modificationDate>Sun, 02 Dec 2007 22:42:43 -0500</jf:modificationDate>
        <jf:date>Dec 2, 2007</jf:date>
        <jf:author>Larry Singer</jf:author>
        <jf:replyCount>3</jf:replyCount>
    </item>


    <item>

        <title>Re: Final Conclusions</title>
        <link>http://www.theserverside.com/discussions/thread.tss?thread_id=47691</link>

        

        
            <description><![CDATA[<blockquote>Also, EasyMock and jMock, the two most pervasive mocking frameworks, use interfaces. So I'm not sure what mocking framework you guys are using.</blockquote>...]]></description>
        

        <pubDate>Fri, 30 Nov 2007 18:45:26 -0500</pubDate>

        

        <jf:creationDate>Fri, 30 Nov 2007 18:45:26 -0500</jf:creationDate>
        <jf:modificationDate>Fri, 30 Nov 2007 18:45:26 -0500</jf:modificationDate>
        <jf:date>Nov 30, 2007</jf:date>
        <jf:author>Rogerio Liesenfeld</jf:author>
        <jf:replyCount>0</jf:replyCount>
    </item>


    <item>

        <title>Re: YAGNI</title>
        <link>http://www.theserverside.com/discussions/thread.tss?thread_id=47691</link>

        

        
            <description><![CDATA[<blockquote>There are many good reasons for writing interfaces, but making code testable is not one of those reasons. None of the test frameworks require interfaces. The mocking frameworks also do not require interfaces. Thanks to <a...]]></description>
        

        <pubDate>Fri, 30 Nov 2007 15:48:17 -0500</pubDate>

        

        <jf:creationDate>Fri, 30 Nov 2007 15:48:17 -0500</jf:creationDate>
        <jf:modificationDate>Fri, 30 Nov 2007 15:48:17 -0500</jf:modificationDate>
        <jf:date>Nov 30, 2007</jf:date>
        <jf:author>Thai Dang Vu</jf:author>
        <jf:replyCount>4</jf:replyCount>
    </item>


    <item>

        <title>Re: Final Conclusions</title>
        <link>http://www.theserverside.com/discussions/thread.tss?thread_id=47691</link>

        

        
            <description><![CDATA[Not sure there is such thing as "final" :)...]]></description>
        

        <pubDate>Fri, 30 Nov 2007 15:31:38 -0500</pubDate>

        

        <jf:creationDate>Fri, 30 Nov 2007 15:31:38 -0500</jf:creationDate>
        <jf:modificationDate>Fri, 30 Nov 2007 15:31:38 -0500</jf:modificationDate>
        <jf:date>Nov 30, 2007</jf:date>
        <jf:author>Ric Wang</jf:author>
        <jf:replyCount>0</jf:replyCount>
    </item>


    <item>

        <title>Re: Article: Design to Unit Test</title>
        <link>http://www.theserverside.com/discussions/thread.tss?thread_id=47691</link>

        

        
            <description><![CDATA[<blockquote>...]]></description>
        

        <pubDate>Fri, 30 Nov 2007 15:15:34 -0500</pubDate>

        

        <jf:creationDate>Fri, 30 Nov 2007 15:15:34 -0500</jf:creationDate>
        <jf:modificationDate>Fri, 30 Nov 2007 15:15:34 -0500</jf:modificationDate>
        <jf:date>Nov 30, 2007</jf:date>
        <jf:author>Ric Wang</jf:author>
        <jf:replyCount>0</jf:replyCount>
    </item>


    <item>

        <title>Final Conclusions</title>
        <link>http://www.theserverside.com/discussions/thread.tss?thread_id=47691</link>

        

        
            <description><![CDATA[Ok I just had to say something at the end of this very long thread....]]></description>
        

        <pubDate>Fri, 30 Nov 2007 09:50:58 -0500</pubDate>

        

        <jf:creationDate>Fri, 30 Nov 2007 09:50:58 -0500</jf:creationDate>
        <jf:modificationDate>Fri, 30 Nov 2007 09:50:58 -0500</jf:modificationDate>
        <jf:date>Nov 30, 2007</jf:date>
        <jf:author>Leif Ashley</jf:author>
        <jf:replyCount>2</jf:replyCount>
    </item>


    <item>

        <title>Re: documentation</title>
        <link>http://www.theserverside.com/discussions/thread.tss?thread_id=47691</link>

        

        
            <description><![CDATA[<blockquote>I would like to stress on one point about this article. It focusses on applications that write (or try to) unit tests at a point after the design and the code has been created. </blockquote>...]]></description>
        

        <pubDate>Fri, 30 Nov 2007 08:09:16 -0500</pubDate>

        

        <jf:creationDate>Fri, 30 Nov 2007 08:09:16 -0500</jf:creationDate>
        <jf:modificationDate>Fri, 30 Nov 2007 08:09:16 -0500</jf:modificationDate>
        <jf:date>Nov 30, 2007</jf:date>
        <jf:author>Paul Beckford</jf:author>
        <jf:replyCount>0</jf:replyCount>
    </item>


    <item>

        <title>Re: documentation</title>
        <link>http://www.theserverside.com/discussions/thread.tss?thread_id=47691</link>

        

        
            <description><![CDATA[<blockquote>I would like to stress on one point about this article. It focusses on applications that write (or try to) unit tests at a point after the design and the code has been created. </blockquote>...]]></description>
        

        <pubDate>Fri, 30 Nov 2007 07:32:33 -0500</pubDate>

        

        <jf:creationDate>Fri, 30 Nov 2007 07:32:33 -0500</jf:creationDate>
        <jf:modificationDate>Fri, 30 Nov 2007 07:32:33 -0500</jf:modificationDate>
        <jf:date>Nov 30, 2007</jf:date>
        <jf:author>Paul Beckford</jf:author>
        <jf:replyCount>0</jf:replyCount>
    </item>



</channel>
</rss>

