<?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 - JUnits - Do’s and Dont’s</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>Thu, 23 May 2013 12:21:11 -0400</pubDate>


    <item>

        <title>Let the tests be Independent of others</title>
        <link>http://www.theserverside.com/discussions/thread.tss?thread_id=55170</link>

        

        
            <description><![CDATA[Thanks for pointing out. I agree that quoted example doesn't exactly convey the point of tests being independent of others.  ...]]></description>
        

        <pubDate>Fri, 24 Jul 2009 01:18:59 -0400</pubDate>

        

        <jf:creationDate>Fri, 24 Jul 2009 01:18:59 -0400</jf:creationDate>
        <jf:modificationDate>Fri, 24 Jul 2009 01:18:59 -0400</jf:modificationDate>
        <jf:date>Jul 24, 2009</jf:date>
        <jf:author>Mahesh Tabib</jf:author>
        <jf:replyCount>0</jf:replyCount>
    </item>


    <item>

        <title>Re: TestNG x JUnit 4</title>
        <link>http://www.theserverside.com/discussions/thread.tss?thread_id=55170</link>

        

        
            <description><![CDATA[<blockquote>To use an existing suite, in the run configuration dialog, choose "suite" then select your XML file for the suite setting.</blockquote>...]]></description>
        

        <pubDate>Fri, 17 Jul 2009 17:36:03 -0400</pubDate>

        

        <jf:creationDate>Fri, 17 Jul 2009 17:36:03 -0400</jf:creationDate>
        <jf:modificationDate>Fri, 17 Jul 2009 17:36:03 -0400</jf:modificationDate>
        <jf:date>Jul 17, 2009</jf:date>
        <jf:author>Rogerio Liesenfeld</jf:author>
        <jf:replyCount>0</jf:replyCount>
    </item>


    <item>

        <title>Re: TestNG x JUnit 4</title>
        <link>http://www.theserverside.com/discussions/thread.tss?thread_id=55170</link>

        

        
            <description><![CDATA[<blockquote>I could not find any way in the IDEA UI to tell the TestNG-J plugin to use an existing testng.xml.</blockquote>

To use an existing suite, in the run configuration dialog, choose "suite" then select your XML file for the suite setting.]]></description>
        

        <pubDate>Thu, 16 Jul 2009 20:37:40 -0400</pubDate>

        

        <jf:creationDate>Thu, 16 Jul 2009 20:37:40 -0400</jf:creationDate>
        <jf:modificationDate>Thu, 16 Jul 2009 20:37:40 -0400</jf:modificationDate>
        <jf:date>Jul 16, 2009</jf:date>
        <jf:author>Mark Derricutt</jf:author>
        <jf:replyCount>1</jf:replyCount>
    </item>


    <item>

        <title>Re: TestNG x JUnit 4</title>
        <link>http://www.theserverside.com/discussions/thread.tss?thread_id=55170</link>

        

        
            <description><![CDATA[<blockquote>'lo - Cedric pinged me about this thread and I'll take a look at the code as soon as I can.  Out of curiosity, what type of test configuration setup were you using for these timings?  Group, package, class?<br><br>Without taking an actual...]]></description>
        

        <pubDate>Thu, 16 Jul 2009 20:00:26 -0400</pubDate>

        

        <jf:creationDate>Thu, 16 Jul 2009 20:00:26 -0400</jf:creationDate>
        <jf:modificationDate>Thu, 16 Jul 2009 20:00:26 -0400</jf:modificationDate>
        <jf:date>Jul 16, 2009</jf:date>
        <jf:author>Rogerio Liesenfeld</jf:author>
        <jf:replyCount>2</jf:replyCount>
    </item>


    <item>

        <title>Re: How to Arrange the Test Cases.</title>
        <link>http://www.theserverside.com/discussions/thread.tss?thread_id=55170</link>

        

        
            <description><![CDATA[I never consider one test class for one method is the right approach. It is not only leads to large amount of classes, it also leads to a lot of setup/tear down codes repeated otherwise they could be shared among methods. ...]]></description>
        

        <pubDate>Wed, 15 Jul 2009 18:54:11 -0400</pubDate>

        

        <jf:creationDate>Wed, 15 Jul 2009 18:54:11 -0400</jf:creationDate>
        <jf:modificationDate>Wed, 15 Jul 2009 18:54:11 -0400</jf:modificationDate>
        <jf:date>Jul 15, 2009</jf:date>
        <jf:author>Chester  Chen</jf:author>
        <jf:replyCount>0</jf:replyCount>
    </item>


    <item>

        <title>Re: TestNG x JUnit 4</title>
        <link>http://www.theserverside.com/discussions/thread.tss?thread_id=55170</link>

        

        
            <description><![CDATA['lo - Cedric pinged me about this thread and I'll take a look at the code as soon as I can.  Out of curiosity, what type of test configuration setup were you using for these timings?  Group, package, class?...]]></description>
        

        <pubDate>Wed, 15 Jul 2009 17:33:52 -0400</pubDate>

        

        <jf:creationDate>Wed, 15 Jul 2009 17:33:52 -0400</jf:creationDate>
        <jf:modificationDate>Wed, 15 Jul 2009 17:33:52 -0400</jf:modificationDate>
        <jf:date>Jul 15, 2009</jf:date>
        <jf:author>Mark Derricutt</jf:author>
        <jf:replyCount>3</jf:replyCount>
    </item>


    <item>

        <title>How to Arrange the Test Cases.</title>
        <link>http://www.theserverside.com/discussions/thread.tss?thread_id=55170</link>

        

        
            <description><![CDATA[One problem I face is maintaining the test cases....]]></description>
        

        <pubDate>Wed, 15 Jul 2009 03:08:04 -0400</pubDate>

        

        <jf:creationDate>Wed, 15 Jul 2009 03:08:04 -0400</jf:creationDate>
        <jf:modificationDate>Wed, 15 Jul 2009 03:08:04 -0400</jf:modificationDate>
        <jf:date>Jul 15, 2009</jf:date>
        <jf:author>Sachin Khandelwal</jf:author>
        <jf:replyCount>1</jf:replyCount>
    </item>


    <item>

        <title>Re: TestNG x JUnit 4</title>
        <link>http://www.theserverside.com/discussions/thread.tss?thread_id=55170</link>

        

        
            <description><![CDATA[<blockquote><blockquote>OK, I decided to make a performance experiment that everybody will be able to reproduce.<br></blockquote><br><br>Could you compare command line times, so that we can factor the IDE out of the equation?</blockquote>...]]></description>
        

        <pubDate>Tue, 14 Jul 2009 20:17:25 -0400</pubDate>

        

        <jf:creationDate>Tue, 14 Jul 2009 20:17:25 -0400</jf:creationDate>
        <jf:modificationDate>Tue, 14 Jul 2009 20:17:25 -0400</jf:modificationDate>
        <jf:date>Jul 14, 2009</jf:date>
        <jf:author>Rogerio Liesenfeld</jf:author>
        <jf:replyCount>4</jf:replyCount>
    </item>


    <item>

        <title>Re: TestNG x JUnit 4</title>
        <link>http://www.theserverside.com/discussions/thread.tss?thread_id=55170</link>

        

        
            <description><![CDATA[<blockquote>OK, I decided to make a performance experiment that everybody will be able to reproduce.
</blockquote>

Could you compare command line times, so that we can factor the IDE out of the equation?]]></description>
        

        <pubDate>Tue, 14 Jul 2009 15:34:54 -0400</pubDate>

        

        <jf:creationDate>Tue, 14 Jul 2009 15:34:54 -0400</jf:creationDate>
        <jf:modificationDate>Tue, 14 Jul 2009 15:34:54 -0400</jf:modificationDate>
        <jf:date>Jul 14, 2009</jf:date>
        <jf:author>Cedric Beust</jf:author>
        <jf:replyCount>5</jf:replyCount>
    </item>


    <item>

        <title>Re: TestNG x JUnit 4</title>
        <link>http://www.theserverside.com/discussions/thread.tss?thread_id=55170</link>

        

        
            <description><![CDATA[OK, I decided to make a performance experiment that everybody will be able to reproduce....]]></description>
        

        <pubDate>Tue, 14 Jul 2009 13:35:31 -0400</pubDate>

        

        <jf:creationDate>Tue, 14 Jul 2009 13:35:31 -0400</jf:creationDate>
        <jf:modificationDate>Tue, 14 Jul 2009 13:35:31 -0400</jf:modificationDate>
        <jf:date>Jul 14, 2009</jf:date>
        <jf:author>Rogerio Liesenfeld</jf:author>
        <jf:replyCount>6</jf:replyCount>
    </item>


    <item>

        <title>Re: TestNG x JUnit 4</title>
        <link>http://www.theserverside.com/discussions/thread.tss?thread_id=55170</link>

        

        
            <description><![CDATA[<blockquote>
I simply run from the Ant task.
</blockquote>

I really mean I simply run ant task from the command line.]]></description>
        

        <pubDate>Tue, 14 Jul 2009 10:32:13 -0400</pubDate>

        

        <jf:creationDate>Tue, 14 Jul 2009 10:32:13 -0400</jf:creationDate>
        <jf:modificationDate>Tue, 14 Jul 2009 10:32:13 -0400</jf:modificationDate>
        <jf:date>Jul 14, 2009</jf:date>
        <jf:author>Chester  Chen</jf:author>
        <jf:replyCount>0</jf:replyCount>
    </item>


    <item>

        <title>Re: TestNG x JUnit 4</title>
        <link>http://www.theserverside.com/discussions/thread.tss?thread_id=55170</link>

        

        
            <description><![CDATA[I use IntelliJ IDEA 8.1 as well, but I never run from the IDE ant plug-in (some of my colleague do)....]]></description>
        

        <pubDate>Tue, 14 Jul 2009 10:16:20 -0400</pubDate>

        

        <jf:creationDate>Tue, 14 Jul 2009 10:16:20 -0400</jf:creationDate>
        <jf:modificationDate>Tue, 14 Jul 2009 10:16:20 -0400</jf:modificationDate>
        <jf:date>Jul 14, 2009</jf:date>
        <jf:author>Chester  Chen</jf:author>
        <jf:replyCount>1</jf:replyCount>
    </item>


    <item>

        <title>Re: TestNG x JUnit 4</title>
        <link>http://www.theserverside.com/discussions/thread.tss?thread_id=55170</link>

        

        
            <description><![CDATA[Personally, I use JUnit as the "first-line" testing framework just because all of the tools default to it and I prefer to keep deltas small if I can....]]></description>
        

        <pubDate>Tue, 14 Jul 2009 09:53:38 -0400</pubDate>

        

        <jf:creationDate>Tue, 14 Jul 2009 09:53:38 -0400</jf:creationDate>
        <jf:modificationDate>Tue, 14 Jul 2009 09:53:38 -0400</jf:modificationDate>
        <jf:date>Jul 14, 2009</jf:date>
        <jf:author>Joseph Ottinger</jf:author>
        <jf:replyCount>7</jf:replyCount>
    </item>


    <item>

        <title>Re: TestNG x JUnit 4</title>
        <link>http://www.theserverside.com/discussions/thread.tss?thread_id=55170</link>

        

        
            <description><![CDATA[Hello Cedric,...]]></description>
        

        <pubDate>Mon, 13 Jul 2009 21:56:28 -0400</pubDate>

        

        <jf:creationDate>Mon, 13 Jul 2009 21:56:28 -0400</jf:creationDate>
        <jf:modificationDate>Mon, 13 Jul 2009 21:56:28 -0400</jf:modificationDate>
        <jf:date>Jul 13, 2009</jf:date>
        <jf:author>Rogerio Liesenfeld</jf:author>
        <jf:replyCount>10</jf:replyCount>
    </item>


    <item>

        <title>Re: JUnits - Do’s and Dont’s</title>
        <link>http://www.theserverside.com/discussions/thread.tss?thread_id=55170</link>

        

        
            <description><![CDATA[<blockquote>• Write tests for methods that have the fewest dependencies first.</blockquote>Time to beat the TDD drum again....]]></description>
        

        <pubDate>Mon, 13 Jul 2009 18:45:24 -0400</pubDate>

        

        <jf:creationDate>Mon, 13 Jul 2009 18:45:24 -0400</jf:creationDate>
        <jf:modificationDate>Mon, 13 Jul 2009 18:45:24 -0400</jf:modificationDate>
        <jf:date>Jul 13, 2009</jf:date>
        <jf:author>Steve Cresswell</jf:author>
        <jf:replyCount>0</jf:replyCount>
    </item>



</channel>
</rss>

