<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
	<id>tag:old.nabble.com,2006:forum-2687</id>
	<title>Nabble - JUnit</title>
	<updated>2009-12-07T07:41:16Z</updated>
	<link rel="self" type="application/atom+xml" href="http://old.nabble.com/JUnit-f2687.xml" />
	<link rel="alternate" type="text/html" href="http://old.nabble.com/JUnit-f2687.html" />
	<subtitle type="html">JUnit is a regression testing framework written by Erich Gamma and Kent Beck. It is used by the developer who implements unit tests in Java. JUnit is the most popular unit testing utility for Java. JUnit home is &lt;a href=&quot;http://www.junit.org/index.htm&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;here&lt;/a&gt;.</subtitle>
	
<entry>
	<id>tag:old.nabble.com,2006:post-26679069</id>
	<title>Re: how to know if a test has failed</title>
	<published>2009-12-07T07:41:16Z</published>
	<updated>2009-12-07T07:41:16Z</updated>
	<author>
		<name>Leo Arias F.-2</name>
	</author>
	<content type="html">&lt;br&gt;&lt;br&gt;&amp;gt; If you can use 4.7 or after, you're better off using a TestWatchman:
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; &lt;a href=&quot;http://kentbeck.github.com/junit/javadoc/4.8/org/junit/rules/TestWatchman.html&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://kentbeck.github.com/junit/javadoc/4.8/org/junit/rules/TestWatchman.html&lt;/a&gt;&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; Will that work for you?
&lt;br&gt;&lt;br&gt;I think so :)
&lt;br&gt;Let me try to implement it that way.
&lt;br&gt;&lt;br&gt;thanks David. 
&lt;br&gt;&lt;br&gt;-- 
&lt;br&gt;Leo Arias. ¡paz y baile!
&lt;br&gt;&lt;a href=&quot;http://elopio.net&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://elopio.net&lt;/a&gt;&lt;br&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/JUnit---User-f2690.html&quot; embed=&quot;fixTarget[2690]&quot; target=&quot;_top&quot; &gt;JUnit - User&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/how-to-know-if-a-test-has-failed-tp26672621p26679069.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26677607</id>
	<title>Re: how to know if a test has failed</title>
	<published>2009-12-07T05:56:59Z</published>
	<updated>2009-12-07T05:56:59Z</updated>
	<author>
		<name>David Saff</name>
	</author>
	<content type="html">Leo,
&lt;br&gt;&lt;br&gt;If you can use 4.7 or after, you're better off using a TestWatchman:
&lt;br&gt;&lt;br&gt;&lt;a href=&quot;http://kentbeck.github.com/junit/javadoc/4.8/org/junit/rules/TestWatchman.html&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://kentbeck.github.com/junit/javadoc/4.8/org/junit/rules/TestWatchman.html&lt;/a&gt;&lt;br&gt;&lt;br&gt;Will that work for you?
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp;David Saff
&lt;br&gt;&lt;br&gt;On Mon, Dec 7, 2009 at 12:09 AM, Leo Arias &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26677607&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;yo@...&lt;/a&gt;&amp;gt; wrote:
&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; Hello,
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; I want to execute some actions on @After only if the @Test has failed.
&lt;br&gt;&amp;gt; Is there a function to know it a test has failed?
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; thanks,
&lt;br&gt;&amp;gt; pura vida.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; --
&lt;br&gt;&amp;gt; Leo Arias. ¡paz y baile!
&lt;br&gt;&amp;gt; &lt;a href=&quot;http://elopio.net&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://elopio.net&lt;/a&gt;&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; ------------------------------------
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Yahoo! Groups Links
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&lt;/div&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/JUnit---User-f2690.html&quot; embed=&quot;fixTarget[2690]&quot; target=&quot;_top&quot; &gt;JUnit - User&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/how-to-know-if-a-test-has-failed-tp26672621p26677607.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26677598</id>
	<title>Re: Help need how to use JUnit tool in testing COBOL.</title>
	<published>2009-12-07T05:55:47Z</published>
	<updated>2009-12-07T05:55:47Z</updated>
	<author>
		<name>David Saff</name>
	</author>
	<content type="html">Although, thanks for the impetus to learn something new to me:
&lt;br&gt;&lt;br&gt;&lt;a href=&quot;http://sites.google.com/site/cobolunit/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://sites.google.com/site/cobolunit/&lt;/a&gt;&lt;br&gt;&lt;br&gt;&amp;nbsp; David Saff
&lt;br&gt;&lt;br&gt;On Mon, Dec 7, 2009 at 6:27 AM, Ilja Preuß &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26677598&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;iljapreuss@...&lt;/a&gt;&amp;gt; wrote:
&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; What's motivating you to use JUnit? Wouldn't it be better to write your
&lt;br&gt;&amp;gt; tests in COBOL?
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; 2009/12/6 conectme366 &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26677598&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;conectme366@...&lt;/a&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; Hi All,
&lt;br&gt;&amp;gt;&amp;gt; This is Rocky.I need some help in testing COBOL using JUnit tool.Can anyone
&lt;br&gt;&amp;gt;&amp;gt; provide some information / manual on this.
&lt;br&gt;&amp;gt;&amp;gt; Thanks a lot in advance ,
&lt;br&gt;&amp;gt;&amp;gt; Your information will be highly appreciated.
&lt;br&gt;&amp;gt;&amp;gt; Best Regards,
&lt;br&gt;&amp;gt;&amp;gt; Rocky.
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; [Non-text portions of this message have been removed]
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; ------------------------------------
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Yahoo! Groups Links
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&lt;/div&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/JUnit---User-f2690.html&quot; embed=&quot;fixTarget[2690]&quot; target=&quot;_top&quot; &gt;JUnit - User&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Help-need-how-to-use-JUnit-tool-in-testing-COBOL.-tp26666125p26677598.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26675907</id>
	<title>Re: Help need how to use JUnit tool in testing COBOL.</title>
	<published>2009-12-07T03:27:06Z</published>
	<updated>2009-12-07T03:27:06Z</updated>
	<author>
		<name>Ilja Preuß</name>
	</author>
	<content type="html">What's motivating you to use JUnit? Wouldn't it be better to write your
&lt;br&gt;tests in COBOL?
&lt;br&gt;&lt;br&gt;2009/12/6 conectme366 &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26675907&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;conectme366@...&lt;/a&gt;&amp;gt;
&lt;br&gt;&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Hi All,
&lt;br&gt;&amp;gt; This is Rocky.I need some help in testing COBOL using JUnit tool.Can anyone
&lt;br&gt;&amp;gt; provide some information / manual on this.
&lt;br&gt;&amp;gt; Thanks a lot in advance ,
&lt;br&gt;&amp;gt; Your information will be highly appreciated.
&lt;br&gt;&amp;gt; Best Regards,
&lt;br&gt;&amp;gt; Rocky.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;nbsp;
&lt;br&gt;&amp;gt;
&lt;/div&gt;&lt;br&gt;&lt;br&gt;[Non-text portions of this message have been removed]
&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;------------------------------------
&lt;br&gt;&lt;br&gt;Yahoo! Groups Links
&lt;br&gt;&lt;br&gt;&amp;lt;*&amp;gt; To visit your group on the web, go to:
&lt;br&gt;&amp;nbsp; &amp;nbsp; &lt;a href=&quot;http://groups.yahoo.com/group/junit/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://groups.yahoo.com/group/junit/&lt;/a&gt;&lt;br&gt;&lt;br&gt;&amp;lt;*&amp;gt; Your email settings:
&lt;br&gt;&amp;nbsp; &amp;nbsp; Individual Email | Traditional
&lt;br&gt;&lt;br&gt;&amp;lt;*&amp;gt; To change settings online go to:
&lt;br&gt;&amp;nbsp; &amp;nbsp; &lt;a href=&quot;http://groups.yahoo.com/group/junit/join&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://groups.yahoo.com/group/junit/join&lt;/a&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; (Yahoo! ID required)
&lt;br&gt;&lt;br&gt;&amp;lt;*&amp;gt; To change settings via email:
&lt;br&gt;&amp;nbsp; &amp;nbsp; &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26675907&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;junit-digest@...&lt;/a&gt; 
&lt;br&gt;&amp;nbsp; &amp;nbsp; &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26675907&amp;i=2&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;junit-fullfeatured@...&lt;/a&gt;
&lt;br&gt;&lt;br&gt;&amp;lt;*&amp;gt; To unsubscribe from this group, send an email to:
&lt;br&gt;&amp;nbsp; &amp;nbsp; &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26675907&amp;i=3&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;junit-unsubscribe@...&lt;/a&gt;
&lt;br&gt;&lt;br&gt;&amp;lt;*&amp;gt; Your use of Yahoo! Groups is subject to:
&lt;br&gt;&amp;nbsp; &amp;nbsp; &lt;a href=&quot;http://docs.yahoo.com/info/terms/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://docs.yahoo.com/info/terms/&lt;/a&gt;&lt;br&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/JUnit---User-f2690.html&quot; embed=&quot;fixTarget[2690]&quot; target=&quot;_top&quot; &gt;JUnit - User&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Help-need-how-to-use-JUnit-tool-in-testing-COBOL.-tp26666125p26675907.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26672621</id>
	<title>how to know if a test has failed</title>
	<published>2009-12-06T21:09:29Z</published>
	<updated>2009-12-06T21:09:29Z</updated>
	<author>
		<name>Leo Arias F.-2</name>
	</author>
	<content type="html">Hello,
&lt;br&gt;&lt;br&gt;I want to execute some actions on @After only if the @Test has failed.
&lt;br&gt;Is there a function to know it a test has failed?
&lt;br&gt;&lt;br&gt;thanks,
&lt;br&gt;pura vida.
&lt;br&gt;&lt;br&gt;-- 
&lt;br&gt;Leo Arias. ¡paz y baile!
&lt;br&gt;&lt;a href=&quot;http://elopio.net&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://elopio.net&lt;/a&gt;&lt;br&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/JUnit---User-f2690.html&quot; embed=&quot;fixTarget[2690]&quot; target=&quot;_top&quot; &gt;JUnit - User&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/how-to-know-if-a-test-has-failed-tp26672621p26672621.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26666125</id>
	<title>Help need how to use JUnit tool in testing COBOL.</title>
	<published>2009-12-05T18:34:56Z</published>
	<updated>2009-12-05T18:34:56Z</updated>
	<author>
		<name>conectme366</name>
	</author>
	<content type="html">Hi All,
&lt;br&gt;This is Rocky.I need some help in testing COBOL using JUnit tool.Can anyone provide some information / manual on this.
&lt;br&gt;Thanks a lot in advance ,
&lt;br&gt;Your information will be highly appreciated.
&lt;br&gt;Best Regards,
&lt;br&gt;Rocky.
&lt;br&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/JUnit---User-f2690.html&quot; embed=&quot;fixTarget[2690]&quot; target=&quot;_top&quot; &gt;JUnit - User&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Help-need-how-to-use-JUnit-tool-in-testing-COBOL.-tp26666125p26666125.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26658995</id>
	<title>Re: Global Rule, active for all tests</title>
	<published>2009-12-05T11:46:56Z</published>
	<updated>2009-12-05T11:46:56Z</updated>
	<author>
		<name>Bogdan Mocanu-3</name>
	</author>
	<content type="html">Hi guys,
&lt;br&gt;&lt;br&gt;thank you very much for your responses.
&lt;br&gt;&lt;br&gt;I didn't know about the RunListener, so I will definitely take a look at it, and come back with an answer regarding it.
&lt;br&gt;&lt;br&gt;What I was thinking about the global rules is to be able to configure something like global rules, that are specified as a startup parameter (read Java option) when starting the test (in the project at my office, we have like 750 tests, and therefore would work just nice to configure this option just for my env; probably the RunListener will work just like that, so as I said, I will read about this).
&lt;br&gt;&lt;br&gt;I was thinking about something like this:
&lt;br&gt;&lt;br&gt;java -Djunit.globalRules=com.test.myrules.SomeNiceRule,com.test.myrules.SomeNiceRule2 ..........
&lt;br&gt;&lt;br&gt;Cheers,
&lt;br&gt;Bogdan
&lt;br&gt;&lt;br&gt;--- In &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26658995&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;junit@...&lt;/a&gt;, &amp;quot;Bogdan&amp;quot; &amp;lt;bogdan.mocanu.notifications@...&amp;gt; wrote:
&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Hi everyone,
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; as we have it currently, we can place a Rule in a test, and that rule will be activated for that test. To have the rule working in several tests, you have to place the Rule in each test.
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; However, I am searching for a way to activate a Rule for all the tests that are executed, without needing to add the rule to each test. Perhaps by specifying a Java property parameter when running the tests (I could also set this as a global Java option, therefore being used upon each execution of the JVM). 
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; Do you know if this is possible?
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; The reason why I need this, is: I am making the plans and gathering the ideas for creating a simple Swing application that will display the results of the executed tests (just like the JUnit view in Eclipse/Idea/Netbeans, but perhaps with more details, and also available for anyone, not just IDE users). Currently I developed a small agent rule, that you can place in your test, and it will report to the console the status of your tests (the Swing console runs remotely).
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; This is ok, but it means that you will have to add this rule to each and every test that you have. It also means that will not be an easy task to disable this rule, if you don't want it anymore.
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; Therefore a possibility to enable Rules globally for all tests I think is the best solution for my case, and also a good tool to have for various other tasks.
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; What do you think? Also, what do you think about the Swing console idea?
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; Cheers,
&lt;br&gt;&amp;gt; Bogdan
&lt;br&gt;&amp;gt;
&lt;/div&gt;&lt;br&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/JUnit---User-f2690.html&quot; embed=&quot;fixTarget[2690]&quot; target=&quot;_top&quot; &gt;JUnit - User&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Global-Rule%2C-active-for-all-tests-tp26652141p26658995.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26661531</id>
	<title>Re: Global Rule, active for all tests</title>
	<published>2009-12-05T10:43:06Z</published>
	<updated>2009-12-05T10:43:06Z</updated>
	<author>
		<name>kentb</name>
	</author>
	<content type="html">All,
&lt;br&gt;&lt;br&gt;I understand global rules operationally not denotationally. If JUnit is a programming language, what do global rules *mean*?
&lt;br&gt;&lt;br&gt;Kent
&lt;br&gt;&lt;br&gt;On Dec 5, 2009, at 2:57 AM, David Saff wrote:
&lt;br&gt;&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; Bogdan,
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; Just this week, we were discussing a similar issue with global rules,
&lt;br&gt;&amp;gt; inspired partly by Daniel's patch, so further votes would make a
&lt;br&gt;&amp;gt; difference.
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; That said, it sounds like a RunListener would give you what you need
&lt;br&gt;&amp;gt; without any new JUnit extension.
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; David Saff
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; On Fri, Dec 4, 2009 at 10:34 AM, Bogdan
&lt;br&gt;&amp;gt; &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26661531&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;bogdan.mocanu.notifications@...&lt;/a&gt;&amp;gt; wrote:
&lt;br&gt;&amp;gt; &amp;gt; Hi everyone,
&lt;br&gt;&amp;gt; &amp;gt;
&lt;br&gt;&amp;gt; &amp;gt; as we have it currently, we can place a Rule in a test, and that rule will be activated for that test. To have the rule working in several tests, you have to place the Rule in each test.
&lt;br&gt;&amp;gt; &amp;gt;
&lt;br&gt;&amp;gt; &amp;gt; However, I am searching for a way to activate a Rule for all the tests that are executed, without needing to add the rule to each test. Perhaps by specifying a Java property parameter when running the tests (I could also set this as a global Java option, therefore being used upon each execution of the JVM).
&lt;br&gt;&amp;gt; &amp;gt;
&lt;br&gt;&amp;gt; &amp;gt; Do you know if this is possible?
&lt;br&gt;&amp;gt; &amp;gt;
&lt;br&gt;&amp;gt; &amp;gt; The reason why I need this, is: I am making the plans and gathering the ideas for creating a simple Swing application that will display the results of the executed tests (just like the JUnit view in Eclipse/Idea/Netbeans, but perhaps with more details, and also available for anyone, not just IDE users). Currently I developed a small agent rule, that you can place in your test, and it will report to the console the status of your tests (the Swing console runs remotely).
&lt;br&gt;&amp;gt; &amp;gt;
&lt;br&gt;&amp;gt; &amp;gt; This is ok, but it means that you will have to add this rule to each and every test that you have. It also means that will not be an easy task to disable this rule, if you don't want it anymore.
&lt;br&gt;&amp;gt; &amp;gt;
&lt;br&gt;&amp;gt; &amp;gt; Therefore a possibility to enable Rules globally for all tests I think is the best solution for my case, and also a good tool to have for various other tasks.
&lt;br&gt;&amp;gt; &amp;gt;
&lt;br&gt;&amp;gt; &amp;gt; What do you think? Also, what do you think about the Swing console idea?
&lt;br&gt;&amp;gt; &amp;gt;
&lt;br&gt;&amp;gt; &amp;gt; Cheers,
&lt;br&gt;&amp;gt; &amp;gt; Bogdan
&lt;br&gt;&amp;gt; &amp;gt;
&lt;br&gt;&amp;gt; &amp;gt;
&lt;br&gt;&amp;gt; &amp;gt;
&lt;br&gt;&amp;gt; &amp;gt; ------------------------------------
&lt;br&gt;&amp;gt; &amp;gt;
&lt;br&gt;&amp;gt; &amp;gt; Yahoo! Groups Links
&lt;br&gt;&amp;gt; &amp;gt;
&lt;br&gt;&amp;gt; &amp;gt;
&lt;br&gt;&amp;gt; &amp;gt;
&lt;br&gt;&amp;gt; &amp;gt;
&lt;br&gt;&amp;gt; 
&lt;/div&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;[Non-text portions of this message have been removed]
&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;------------------------------------
&lt;br&gt;&lt;br&gt;Yahoo! Groups Links
&lt;br&gt;&lt;br&gt;&amp;lt;*&amp;gt; To visit your group on the web, go to:
&lt;br&gt;&amp;nbsp; &amp;nbsp; &lt;a href=&quot;http://groups.yahoo.com/group/junit/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://groups.yahoo.com/group/junit/&lt;/a&gt;&lt;br&gt;&lt;br&gt;&amp;lt;*&amp;gt; Your email settings:
&lt;br&gt;&amp;nbsp; &amp;nbsp; Individual Email | Traditional
&lt;br&gt;&lt;br&gt;&amp;lt;*&amp;gt; To change settings online go to:
&lt;br&gt;&amp;nbsp; &amp;nbsp; &lt;a href=&quot;http://groups.yahoo.com/group/junit/join&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://groups.yahoo.com/group/junit/join&lt;/a&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; (Yahoo! ID required)
&lt;br&gt;&lt;br&gt;&amp;lt;*&amp;gt; To change settings via email:
&lt;br&gt;&amp;nbsp; &amp;nbsp; &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26661531&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;junit-digest@...&lt;/a&gt; 
&lt;br&gt;&amp;nbsp; &amp;nbsp; &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26661531&amp;i=2&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;junit-fullfeatured@...&lt;/a&gt;
&lt;br&gt;&lt;br&gt;&amp;lt;*&amp;gt; To unsubscribe from this group, send an email to:
&lt;br&gt;&amp;nbsp; &amp;nbsp; &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26661531&amp;i=3&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;junit-unsubscribe@...&lt;/a&gt;
&lt;br&gt;&lt;br&gt;&amp;lt;*&amp;gt; Your use of Yahoo! Groups is subject to:
&lt;br&gt;&amp;nbsp; &amp;nbsp; &lt;a href=&quot;http://docs.yahoo.com/info/terms/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://docs.yahoo.com/info/terms/&lt;/a&gt;&lt;br&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/JUnit---User-f2690.html&quot; embed=&quot;fixTarget[2690]&quot; target=&quot;_top&quot; &gt;JUnit - User&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Global-Rule%2C-active-for-all-tests-tp26652141p26661531.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26655980</id>
	<title>Re: Global Rule, active for all tests</title>
	<published>2009-12-05T04:45:07Z</published>
	<updated>2009-12-05T04:45:07Z</updated>
	<author>
		<name>Endre Stølsvik-6</name>
	</author>
	<content type="html">I just posted a *somewhat* similar question in regard to the JUnit runner in
&lt;br&gt;Eclipse. I would like to have an &amp;quot;after&amp;quot; test that is run after all other
&lt;br&gt;tests (no matter what tests you are running, single class, package or
&lt;br&gt;project). This is because I have set up an
&lt;br&gt;Thread.setDefaultUncaughtExceptionHandler that will pick up if threads die
&lt;br&gt;unexpectedly (and I do that by a &amp;quot;before&amp;quot; logic that relies on a static
&lt;br&gt;block in ALL tests, which obviously also would be nice if I could place in a
&lt;br&gt;&amp;quot;before&amp;quot; test, harness). I want this &amp;quot;after&amp;quot; test to check that this number
&lt;br&gt;is 0, and if not, fail the test.
&lt;br&gt;&lt;br&gt;It sounds slightly like this magic-all-tests-add Rule thing could fix my
&lt;br&gt;problem - if the Eclipse runner honors this, of course. Just wanted to
&lt;br&gt;mention it, if some tools in the future could take it into account!
&lt;br&gt;&lt;br&gt;Thanks,
&lt;br&gt;Endre.
&lt;br&gt;&lt;br&gt;On Fri, Dec 4, 2009 at 16:34, Bogdan
&lt;br&gt;&amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26655980&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;bogdan.mocanu.notifications@...&lt;/a&gt;&amp;gt;wrote:
&lt;br&gt;&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Hi everyone,
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; as we have it currently, we can place a Rule in a test, and that rule will
&lt;br&gt;&amp;gt; be activated for that test. To have the rule working in several tests, you
&lt;br&gt;&amp;gt; have to place the Rule in each test.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; However, I am searching for a way to activate a Rule for all the tests that
&lt;br&gt;&amp;gt; are executed, without needing to add the rule to each test. Perhaps by
&lt;br&gt;&amp;gt; specifying a Java property parameter when running the tests (I could also
&lt;br&gt;&amp;gt; set this as a global Java option, therefore being used upon each execution
&lt;br&gt;&amp;gt; of the JVM).
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Do you know if this is possible?
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; The reason why I need this, is: I am making the plans and gathering the
&lt;br&gt;&amp;gt; ideas for creating a simple Swing application that will display the results
&lt;br&gt;&amp;gt; of the executed tests (just like the JUnit view in Eclipse/Idea/Netbeans,
&lt;br&gt;&amp;gt; but perhaps with more details, and also available for anyone, not just IDE
&lt;br&gt;&amp;gt; users). Currently I developed a small agent rule, that you can place in your
&lt;br&gt;&amp;gt; test, and it will report to the console the status of your tests (the Swing
&lt;br&gt;&amp;gt; console runs remotely).
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; This is ok, but it means that you will have to add this rule to each and
&lt;br&gt;&amp;gt; every test that you have. It also means that will not be an easy task to
&lt;br&gt;&amp;gt; disable this rule, if you don't want it anymore.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Therefore a possibility to enable Rules globally for all tests I think is
&lt;br&gt;&amp;gt; the best solution for my case, and also a good tool to have for various
&lt;br&gt;&amp;gt; other tasks.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; What do you think? Also, what do you think about the Swing console idea?
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Cheers,
&lt;br&gt;&amp;gt; Bogdan
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;nbsp;
&lt;br&gt;&amp;gt;
&lt;/div&gt;&lt;br&gt;&lt;br&gt;[Non-text portions of this message have been removed]
&lt;br&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/JUnit---User-f2690.html&quot; embed=&quot;fixTarget[2690]&quot; target=&quot;_top&quot; &gt;JUnit - User&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Global-Rule%2C-active-for-all-tests-tp26652141p26655980.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26654620</id>
	<title>Re: Global Rule, active for all tests</title>
	<published>2009-12-05T02:57:16Z</published>
	<updated>2009-12-05T02:57:16Z</updated>
	<author>
		<name>David Saff</name>
	</author>
	<content type="html">Bogdan,
&lt;br&gt;&lt;br&gt;Just this week, we were discussing a similar issue with global rules,
&lt;br&gt;inspired partly by Daniel's patch, so further votes would make a
&lt;br&gt;difference.
&lt;br&gt;&lt;br&gt;That said, it sounds like a RunListener would give you what you need
&lt;br&gt;without any new JUnit extension.
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp;David Saff
&lt;br&gt;&lt;br&gt;On Fri, Dec 4, 2009 at 10:34 AM, Bogdan
&lt;br&gt;&amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26654620&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;bogdan.mocanu.notifications@...&lt;/a&gt;&amp;gt; wrote:
&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; Hi everyone,
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; as we have it currently, we can place a Rule in a test, and that rule will be activated for that test. To have the rule working in several tests, you have to place the Rule in each test.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; However, I am searching for a way to activate a Rule for all the tests that are executed, without needing to add the rule to each test. Perhaps by specifying a Java property parameter when running the tests (I could also set this as a global Java option, therefore being used upon each execution of the JVM).
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Do you know if this is possible?
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; The reason why I need this, is: I am making the plans and gathering the ideas for creating a simple Swing application that will display the results of the executed tests (just like the JUnit view in Eclipse/Idea/Netbeans, but perhaps with more details, and also available for anyone, not just IDE users). Currently I developed a small agent rule, that you can place in your test, and it will report to the console the status of your tests (the Swing console runs remotely).
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; This is ok, but it means that you will have to add this rule to each and every test that you have. It also means that will not be an easy task to disable this rule, if you don't want it anymore.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Therefore a possibility to enable Rules globally for all tests I think is the best solution for my case, and also a good tool to have for various other tasks.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; What do you think? Also, what do you think about the Swing console idea?
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Cheers,
&lt;br&gt;&amp;gt; Bogdan
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; ------------------------------------
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Yahoo! Groups Links
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&lt;/div&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/JUnit---User-f2690.html&quot; embed=&quot;fixTarget[2690]&quot; target=&quot;_top&quot; &gt;JUnit - User&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Global-Rule%2C-active-for-all-tests-tp26652141p26654620.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26654437</id>
	<title>Re: Global Rule, active for all tests</title>
	<published>2009-12-05T02:27:50Z</published>
	<updated>2009-12-05T02:27:50Z</updated>
	<author>
		<name>Daniel Brolund-2</name>
	</author>
	<content type="html">Hi Bogdan,
&lt;br&gt;&lt;br&gt;I have kind of the same wish, and I have created an issue for it:
&lt;br&gt;&lt;a href=&quot;http://github.com/KentBeck/junit/issues#issue/40&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://github.com/KentBeck/junit/issues#issue/40&lt;/a&gt;&lt;br&gt;&lt;br&gt;I have also created a fork with an implementation of the functionality
&lt;br&gt;(based on JUnit 4.7, I haven't had time to merge it with the latest). It
&lt;br&gt;requires you to put your tests in a suite, add the rule on the suite and
&lt;br&gt;annotate the rule for propagation to all sub-suites and tests.
&lt;br&gt;&lt;br&gt;I'm not sure this is exactely what you want, but if it is, you can help by
&lt;br&gt;voting it up it might make it to some future release of JUnit. :-)
&lt;br&gt;&lt;br&gt;Cheers
&lt;br&gt;Daniel
&lt;br&gt;&lt;br&gt;On Fri, Dec 4, 2009 at 4:34 PM, Bogdan &amp;lt;
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26654437&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;bogdan.mocanu.notifications@...&lt;/a&gt;&amp;gt; wrote:
&lt;br&gt;&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Hi everyone,
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; as we have it currently, we can place a Rule in a test, and that rule will
&lt;br&gt;&amp;gt; be activated for that test. To have the rule working in several tests, you
&lt;br&gt;&amp;gt; have to place the Rule in each test.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; However, I am searching for a way to activate a Rule for all the tests that
&lt;br&gt;&amp;gt; are executed, without needing to add the rule to each test. Perhaps by
&lt;br&gt;&amp;gt; specifying a Java property parameter when running the tests (I could also
&lt;br&gt;&amp;gt; set this as a global Java option, therefore being used upon each execution
&lt;br&gt;&amp;gt; of the JVM).
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Do you know if this is possible?
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; The reason why I need this, is: I am making the plans and gathering the
&lt;br&gt;&amp;gt; ideas for creating a simple Swing application that will display the results
&lt;br&gt;&amp;gt; of the executed tests (just like the JUnit view in Eclipse/Idea/Netbeans,
&lt;br&gt;&amp;gt; but perhaps with more details, and also available for anyone, not just IDE
&lt;br&gt;&amp;gt; users). Currently I developed a small agent rule, that you can place in your
&lt;br&gt;&amp;gt; test, and it will report to the console the status of your tests (the Swing
&lt;br&gt;&amp;gt; console runs remotely).
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; This is ok, but it means that you will have to add this rule to each and
&lt;br&gt;&amp;gt; every test that you have. It also means that will not be an easy task to
&lt;br&gt;&amp;gt; disable this rule, if you don't want it anymore.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Therefore a possibility to enable Rules globally for all tests I think is
&lt;br&gt;&amp;gt; the best solution for my case, and also a good tool to have for various
&lt;br&gt;&amp;gt; other tasks.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; What do you think? Also, what do you think about the Swing console idea?
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Cheers,
&lt;br&gt;&amp;gt; Bogdan
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;nbsp;
&lt;br&gt;&amp;gt;
&lt;/div&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;-- 
&lt;br&gt;---------------------------------------------------------
&lt;br&gt;Daniel Brolund
&lt;br&gt;Agical AB - www.agical.com
&lt;br&gt;&lt;br&gt;work: &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26654437&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;daniel.brolund@...&lt;/a&gt;
&lt;br&gt;phone: +46708754002
&lt;br&gt;blog:&lt;a href=&quot;http://danielbrolund.wordpress.com&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://danielbrolund.wordpress.com&lt;/a&gt;&lt;br&gt;twitter: @danielbrolund
&lt;br&gt;private: &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26654437&amp;i=2&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;daniel.brolund@...&lt;/a&gt;
&lt;br&gt;&lt;br&gt;&lt;br&gt;[Non-text portions of this message have been removed]
&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;------------------------------------
&lt;br&gt;&lt;br&gt;Yahoo! Groups Links
&lt;br&gt;&lt;br&gt;&amp;lt;*&amp;gt; To visit your group on the web, go to:
&lt;br&gt;&amp;nbsp; &amp;nbsp; &lt;a href=&quot;http://groups.yahoo.com/group/junit/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://groups.yahoo.com/group/junit/&lt;/a&gt;&lt;br&gt;&lt;br&gt;&amp;lt;*&amp;gt; Your email settings:
&lt;br&gt;&amp;nbsp; &amp;nbsp; Individual Email | Traditional
&lt;br&gt;&lt;br&gt;&amp;lt;*&amp;gt; To change settings online go to:
&lt;br&gt;&amp;nbsp; &amp;nbsp; &lt;a href=&quot;http://groups.yahoo.com/group/junit/join&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://groups.yahoo.com/group/junit/join&lt;/a&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; (Yahoo! ID required)
&lt;br&gt;&lt;br&gt;&amp;lt;*&amp;gt; To change settings via email:
&lt;br&gt;&amp;nbsp; &amp;nbsp; &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26654437&amp;i=3&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;junit-digest@...&lt;/a&gt; 
&lt;br&gt;&amp;nbsp; &amp;nbsp; &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26654437&amp;i=4&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;junit-fullfeatured@...&lt;/a&gt;
&lt;br&gt;&lt;br&gt;&amp;lt;*&amp;gt; To unsubscribe from this group, send an email to:
&lt;br&gt;&amp;nbsp; &amp;nbsp; &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26654437&amp;i=5&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;junit-unsubscribe@...&lt;/a&gt;
&lt;br&gt;&lt;br&gt;&amp;lt;*&amp;gt; Your use of Yahoo! Groups is subject to:
&lt;br&gt;&amp;nbsp; &amp;nbsp; &lt;a href=&quot;http://docs.yahoo.com/info/terms/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://docs.yahoo.com/info/terms/&lt;/a&gt;&lt;br&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/JUnit---User-f2690.html&quot; embed=&quot;fixTarget[2690]&quot; target=&quot;_top&quot; &gt;JUnit - User&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Global-Rule%2C-active-for-all-tests-tp26652141p26654437.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26652141</id>
	<title>Global Rule, active for all tests</title>
	<published>2009-12-04T07:34:02Z</published>
	<updated>2009-12-04T07:34:02Z</updated>
	<author>
		<name>Bogdan Mocanu-3</name>
	</author>
	<content type="html">Hi everyone,
&lt;br&gt;&lt;br&gt;as we have it currently, we can place a Rule in a test, and that rule will be activated for that test. To have the rule working in several tests, you have to place the Rule in each test.
&lt;br&gt;&lt;br&gt;However, I am searching for a way to activate a Rule for all the tests that are executed, without needing to add the rule to each test. Perhaps by specifying a Java property parameter when running the tests (I could also set this as a global Java option, therefore being used upon each execution of the JVM). 
&lt;br&gt;&lt;br&gt;Do you know if this is possible?
&lt;br&gt;&lt;br&gt;The reason why I need this, is: I am making the plans and gathering the ideas for creating a simple Swing application that will display the results of the executed tests (just like the JUnit view in Eclipse/Idea/Netbeans, but perhaps with more details, and also available for anyone, not just IDE users). Currently I developed a small agent rule, that you can place in your test, and it will report to the console the status of your tests (the Swing console runs remotely).
&lt;br&gt;&lt;br&gt;This is ok, but it means that you will have to add this rule to each and every test that you have. It also means that will not be an easy task to disable this rule, if you don't want it anymore.
&lt;br&gt;&lt;br&gt;Therefore a possibility to enable Rules globally for all tests I think is the best solution for my case, and also a good tool to have for various other tasks.
&lt;br&gt;&lt;br&gt;What do you think? Also, what do you think about the Swing console idea?
&lt;br&gt;&lt;br&gt;Cheers,
&lt;br&gt;Bogdan
&lt;br&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/JUnit---User-f2690.html&quot; embed=&quot;fixTarget[2690]&quot; target=&quot;_top&quot; &gt;JUnit - User&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Global-Rule%2C-active-for-all-tests-tp26652141p26652141.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26642893</id>
	<title>Re: Re: JUnit 4.8 is released</title>
	<published>2009-12-04T05:57:57Z</published>
	<updated>2009-12-04T05:57:57Z</updated>
	<author>
		<name>David Saff</name>
	</author>
	<content type="html">Greg,
&lt;br&gt;&lt;br&gt;Definitely sounds like a problem. &amp;nbsp;Can you create a small example? &amp;nbsp;Thanks,
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp;David Saff
&lt;br&gt;&lt;br&gt;On Fri, Dec 4, 2009 at 2:11 AM, gregomena &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26642893&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;gregomena@...&lt;/a&gt;&amp;gt; wrote:
&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; I've been testing. And everything is great when the annotation is in methods, but when it's in the class, tests are not executed.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; ------------------------------------
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Yahoo! Groups Links
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&lt;/div&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/JUnit---User-f2690.html&quot; embed=&quot;fixTarget[2690]&quot; target=&quot;_top&quot; &gt;JUnit - User&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/JUnit-4.8-is-released-tp26599023p26642893.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26640493</id>
	<title>Re: JUnit 4.8 is released</title>
	<published>2009-12-03T23:11:32Z</published>
	<updated>2009-12-03T23:11:32Z</updated>
	<author>
		<name>gregomena</name>
	</author>
	<content type="html">I've been testing. And everything is great when the annotation is in methods, but when it's in the class, tests are not executed.
&lt;br&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/JUnit---User-f2690.html&quot; embed=&quot;fixTarget[2690]&quot; target=&quot;_top&quot; &gt;JUnit - User&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/JUnit-4.8-is-released-tp26599023p26640493.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26636626</id>
	<title>Re: -Djava.ext.dirs issue?</title>
	<published>2009-12-03T13:10:10Z</published>
	<updated>2009-12-03T13:10:10Z</updated>
	<author>
		<name>Bruce-87</name>
	</author>
	<content type="html">Hi David,
&lt;br&gt;&lt;br&gt;This has been logged as issue #59.
&lt;br&gt;&lt;br&gt;Thanks,
&lt;br&gt;&amp;nbsp; Bruce
&lt;br&gt;&lt;br&gt;--- In &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26636626&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;junit@...&lt;/a&gt;, David Saff &amp;lt;david@...&amp;gt; wrote:
&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Bruce,
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; This is actually a bug. &amp;nbsp;Can you log it at github? &amp;nbsp;Thanks,
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp;David Saff
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; On Mon, Nov 30, 2009 at 10:52 AM, Bruce &amp;lt;bcowan12@...&amp;gt; wrote:
&lt;br&gt;&amp;gt; &amp;gt; Hi,
&lt;br&gt;&amp;gt; &amp;gt;
&lt;br&gt;&amp;gt; &amp;gt; I have a problem where if I specify the java &amp;quot;ext&amp;quot; directory, JUnit is unable to find my test class.  Whereas, if I just use &amp;quot;classpath&amp;quot;, everything is fine.  Since my tests will ultimately depend on a number of 3rd party libraries, I really want to just use the &amp;quot;ext&amp;quot; directory approach.
&lt;br&gt;&amp;gt; &amp;gt;
&lt;br&gt;&amp;gt; &amp;gt; For example:
&lt;br&gt;&amp;gt; &amp;gt;
&lt;br&gt;&amp;gt; &amp;gt; java -classpath /home/cowan/src/atst/lib/java/classes -Djava.ext.dirs=/home/cowan/src/atst/lib/java/ext org.junit.runner.JUnitCore atst.cs.test.TestAll
&lt;br&gt;&amp;gt; &amp;gt;
&lt;br&gt;&amp;gt; &amp;gt; this ends up with
&lt;br&gt;&amp;gt; &amp;gt;   JUnit version 4.7
&lt;br&gt;&amp;gt; &amp;gt;   Could not find class: atst.cs.test.TestAll
&lt;br&gt;&amp;gt; &amp;gt;
&lt;br&gt;&amp;gt; &amp;gt; The strange thing is that if I use the verbose flag on java, it even logs that it successfully loaded the TestAll class from the appropriate directory before later displaying the error.
&lt;br&gt;&amp;gt; &amp;gt;
&lt;br&gt;&amp;gt; &amp;gt; If I modify the command line to:
&lt;br&gt;&amp;gt; &amp;gt;
&lt;br&gt;&amp;gt; &amp;gt; java -classpath /home/cowan/src/atst/lib/java/classes:/home/cowan/tools/junit4.7/junit.jar  org.junit.runner.JUnitCore atst.cs.test.TestAll
&lt;br&gt;&amp;gt; &amp;gt;
&lt;br&gt;&amp;gt; &amp;gt; everything works as expected.
&lt;br&gt;&amp;gt; &amp;gt;
&lt;br&gt;&amp;gt; &amp;gt; Does anyone know why -Djava.ext.dirs seems to cause JUnit to malfunction?  (I've only tried this with JUnit 4.7)
&lt;br&gt;&amp;gt; &amp;gt;
&lt;br&gt;&amp;gt; &amp;gt; Thanks,
&lt;br&gt;&amp;gt; &amp;gt;  Bruce
&lt;br&gt;&amp;gt; &amp;gt;
&lt;br&gt;&amp;gt; &amp;gt;
&lt;br&gt;&amp;gt; &amp;gt;
&lt;br&gt;&amp;gt; &amp;gt;
&lt;br&gt;&amp;gt; &amp;gt; ------------------------------------
&lt;br&gt;&amp;gt; &amp;gt;
&lt;br&gt;&amp;gt; &amp;gt; Yahoo! Groups Links
&lt;br&gt;&amp;gt; &amp;gt;
&lt;br&gt;&amp;gt; &amp;gt;
&lt;br&gt;&amp;gt; &amp;gt;
&lt;br&gt;&amp;gt; &amp;gt;
&lt;br&gt;&amp;gt;
&lt;/div&gt;&lt;br&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/JUnit---User-f2690.html&quot; embed=&quot;fixTarget[2690]&quot; target=&quot;_top&quot; &gt;JUnit - User&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/-Djava.ext.dirs-issue--tp26618575p26636626.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26630938</id>
	<title>Re: -Djava.ext.dirs issue?</title>
	<published>2009-12-03T08:28:35Z</published>
	<updated>2009-12-03T08:28:35Z</updated>
	<author>
		<name>David Saff</name>
	</author>
	<content type="html">Bruce,
&lt;br&gt;&lt;br&gt;This is actually a bug. &amp;nbsp;Can you log it at github? &amp;nbsp;Thanks,
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp;David Saff
&lt;br&gt;&lt;br&gt;On Mon, Nov 30, 2009 at 10:52 AM, Bruce &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26630938&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;bcowan12@...&lt;/a&gt;&amp;gt; wrote:
&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; Hi,
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; I have a problem where if I specify the java &amp;quot;ext&amp;quot; directory, JUnit is unable to find my test class.  Whereas, if I just use &amp;quot;classpath&amp;quot;, everything is fine.  Since my tests will ultimately depend on a number of 3rd party libraries, I really want to just use the &amp;quot;ext&amp;quot; directory approach.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; For example:
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; java -classpath /home/cowan/src/atst/lib/java/classes -Djava.ext.dirs=/home/cowan/src/atst/lib/java/ext org.junit.runner.JUnitCore atst.cs.test.TestAll
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; this ends up with
&lt;br&gt;&amp;gt;   JUnit version 4.7
&lt;br&gt;&amp;gt;   Could not find class: atst.cs.test.TestAll
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; The strange thing is that if I use the verbose flag on java, it even logs that it successfully loaded the TestAll class from the appropriate directory before later displaying the error.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; If I modify the command line to:
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; java -classpath /home/cowan/src/atst/lib/java/classes:/home/cowan/tools/junit4.7/junit.jar  org.junit.runner.JUnitCore atst.cs.test.TestAll
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; everything works as expected.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Does anyone know why -Djava.ext.dirs seems to cause JUnit to malfunction?  (I've only tried this with JUnit 4.7)
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Thanks,
&lt;br&gt;&amp;gt;  Bruce
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; ------------------------------------
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Yahoo! Groups Links
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&lt;/div&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/JUnit---User-f2690.html&quot; embed=&quot;fixTarget[2690]&quot; target=&quot;_top&quot; &gt;JUnit - User&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/-Djava.ext.dirs-issue--tp26618575p26630938.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26625604</id>
	<title>Re: JUnit 4.8 is released</title>
	<published>2009-12-02T20:09:34Z</published>
	<updated>2009-12-02T20:09:34Z</updated>
	<author>
		<name>B. Sai Prasad, M.Phil, SCJP, MCP, MCTS, SSGB, PMP, PMI-SP</name>
	</author>
	<content type="html">Thanks for your prompt response. - Sai
&lt;br&gt;&lt;br&gt;On Thu, Dec 3, 2009 at 9:12 AM, David Saff &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26625604&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;david@...&lt;/a&gt;&amp;gt; wrote:
&lt;br&gt;&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; [bcc: junit-announce]
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; That's a bit of a documentation bug: the example code was developed as
&lt;br&gt;&amp;gt; inner classes, and I didn't edit out the &amp;quot;static&amp;quot; modifiers. Will
&lt;br&gt;&amp;gt; fix.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; David Saff
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; On Tue, Dec 1, 2009 at 8:47 PM, B. Sai Prasad, M.Phil, SCJP, MCP,
&lt;br&gt;&amp;gt; MCTS, SSGB, PMP, PMI-SP &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26625604&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;sai.prasad.b@...&lt;/a&gt; &amp;lt;sai.prasad.b%40gmail.com&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt; wrote:
&lt;br&gt;&amp;gt; &amp;gt; Hi David -
&lt;br&gt;&amp;gt; &amp;gt;
&lt;br&gt;&amp;gt; &amp;gt; New feature - Categories - will help developers to selectively group and
&lt;br&gt;&amp;gt; &amp;gt; execute test classes and methods.
&lt;br&gt;&amp;gt; &amp;gt;
&lt;br&gt;&amp;gt; &amp;gt; I was looking at the releasnotes4.8.html, and found the classes are
&lt;br&gt;&amp;gt; static.
&lt;br&gt;&amp;gt; &amp;gt; Any reason why it should be static?
&lt;br&gt;&amp;gt; &amp;gt;
&lt;br&gt;&amp;gt; &amp;gt; Regards
&lt;br&gt;&amp;gt; &amp;gt; Sai
&lt;br&gt;&amp;gt; &amp;gt;
&lt;br&gt;&amp;gt; &amp;gt; On Wed, Dec 2, 2009 at 2:33 AM, David Saff &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26625604&amp;i=2&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;david@...&lt;/a&gt;&amp;lt;david%40saff.net&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt; wrote:
&lt;br&gt;&amp;gt; &amp;gt;
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt; JUnit 4.8 has been released. The primary new feature is preliminary
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt; support for Categories. For more information, see the release notes at
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt; &lt;a href=&quot;http://kentbeck.github.com/junit/doc/ReleaseNotes4.8.html&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://kentbeck.github.com/junit/doc/ReleaseNotes4.8.html&lt;/a&gt;&lt;br&gt;&amp;gt; &amp;gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt; and the javadoc at
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt; &lt;a href=&quot;http://kentbeck.github.com/junit/javadoc/4.8/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://kentbeck.github.com/junit/javadoc/4.8/&lt;/a&gt;&lt;br&gt;&amp;gt; &amp;gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt; and download from
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt; &lt;a href=&quot;http://github.com/KentBeck/junit/downloads&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://github.com/KentBeck/junit/downloads&lt;/a&gt;&lt;br&gt;&amp;gt; &amp;gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt; Share and Enjoy,
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt; David Saff
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;gt;
&lt;br&gt;&amp;gt; &amp;gt;
&lt;br&gt;&amp;gt; &amp;gt;
&lt;br&gt;&amp;gt; &amp;gt; --
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;gt; What am I doing now? Visit &amp;nbsp;&lt;a href=&quot;http://twitter.com/saipower&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://twitter.com/saipower&lt;/a&gt;&lt;br&gt;&amp;gt; &amp;gt;
&lt;br&gt;&amp;gt; &amp;gt;
&lt;br&gt;&amp;gt; &amp;gt; [Non-text portions of this message have been removed]
&lt;br&gt;&amp;gt; &amp;gt;
&lt;br&gt;&amp;gt; &amp;gt;
&lt;br&gt;&amp;gt; &amp;gt;
&lt;br&gt;&amp;gt; &amp;gt; ------------------------------------
&lt;br&gt;&amp;gt; &amp;gt;
&lt;br&gt;&amp;gt; &amp;gt; Yahoo! Groups Links
&lt;br&gt;&amp;gt; &amp;gt;
&lt;br&gt;&amp;gt; &amp;gt;
&lt;br&gt;&amp;gt; &amp;gt;
&lt;br&gt;&amp;gt; &amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt;
&lt;/div&gt;&lt;br&gt;&lt;br&gt;[Non-text portions of this message have been removed]
&lt;br&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/JUnit---User-f2690.html&quot; embed=&quot;fixTarget[2690]&quot; target=&quot;_top&quot; &gt;JUnit - User&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/JUnit-4.8-is-released-tp26599023p26625604.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26620595</id>
	<title>Re: Bug reports?</title>
	<published>2009-12-02T19:45:26Z</published>
	<updated>2009-12-02T19:45:26Z</updated>
	<author>
		<name>David Saff</name>
	</author>
	<content type="html">Bruce,
&lt;br&gt;&lt;br&gt;This is generally a good place to start, in case someone knows a fix
&lt;br&gt;or workaround. &amp;nbsp;The official bug list is at
&lt;br&gt;&lt;a href=&quot;http://github.com/KentBeck/junit/issues&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://github.com/KentBeck/junit/issues&lt;/a&gt;.
&lt;br&gt;&lt;br&gt;That said, I just got this message and your previous message nearly
&lt;br&gt;simultaneously, so I think it was moderation lag (a human has to
&lt;br&gt;approve first-time posts, to keep down spam.)
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp;David Saff
&lt;br&gt;&lt;br&gt;On Wed, Dec 2, 2009 at 10:35 AM, Bruce &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26620595&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;bcowan12@...&lt;/a&gt;&amp;gt; wrote:
&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; Hi,
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Where should I submit a bug report for JUnit?  I wrote one up for this group a couple of days ago, but it never appeared.  Other messages have been posted since, so I'm assuming that I've posted it in the wrong spot.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Thanks,
&lt;br&gt;&amp;gt;  Bruce
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; ------------------------------------
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Yahoo! Groups Links
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&lt;/div&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/JUnit---User-f2690.html&quot; embed=&quot;fixTarget[2690]&quot; target=&quot;_top&quot; &gt;JUnit - User&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Bug-reports--tp26618568p26620595.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26620578</id>
	<title>Re: JUnit 4.8 is released</title>
	<published>2009-12-02T19:42:33Z</published>
	<updated>2009-12-02T19:42:33Z</updated>
	<author>
		<name>David Saff</name>
	</author>
	<content type="html">[bcc: junit-announce]
&lt;br&gt;&lt;br&gt;That's a bit of a documentation bug: the example code was developed as
&lt;br&gt;inner classes, and I didn't edit out the &amp;quot;static&amp;quot; modifiers. &amp;nbsp;Will
&lt;br&gt;fix.
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp;David Saff
&lt;br&gt;&lt;br&gt;On Tue, Dec 1, 2009 at 8:47 PM, B. Sai Prasad, M.Phil, SCJP, MCP,
&lt;br&gt;MCTS, SSGB, PMP, PMI-SP &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26620578&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;sai.prasad.b@...&lt;/a&gt;&amp;gt; wrote:
&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; Hi David -
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; New feature - Categories - will help developers to selectively group and
&lt;br&gt;&amp;gt; execute test classes and methods.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; I was looking at the releasnotes4.8.html, and found the classes are static.
&lt;br&gt;&amp;gt; Any reason why it should be static?
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Regards
&lt;br&gt;&amp;gt; Sai
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; On Wed, Dec 2, 2009 at 2:33 AM, David Saff &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26620578&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;david@...&lt;/a&gt;&amp;gt; wrote:
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; JUnit 4.8 has been released. The primary new feature is preliminary
&lt;br&gt;&amp;gt;&amp;gt; support for Categories. For more information, see the release notes at
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; &lt;a href=&quot;http://kentbeck.github.com/junit/doc/ReleaseNotes4.8.html&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://kentbeck.github.com/junit/doc/ReleaseNotes4.8.html&lt;/a&gt;&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; and the javadoc at
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; &lt;a href=&quot;http://kentbeck.github.com/junit/javadoc/4.8/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://kentbeck.github.com/junit/javadoc/4.8/&lt;/a&gt;&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; and download from
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; &lt;a href=&quot;http://github.com/KentBeck/junit/downloads&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://github.com/KentBeck/junit/downloads&lt;/a&gt;&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; Share and Enjoy,
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; David Saff
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; --
&lt;br&gt;&amp;gt; What am I doing now? Visit  &lt;a href=&quot;http://twitter.com/saipower&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://twitter.com/saipower&lt;/a&gt;&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; [Non-text portions of this message have been removed]
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; ------------------------------------
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Yahoo! Groups Links
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&lt;/div&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/JUnit---User-f2690.html&quot; embed=&quot;fixTarget[2690]&quot; target=&quot;_top&quot; &gt;JUnit - User&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/JUnit-4.8-is-released-tp26599023p26620578.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26620584</id>
	<title>Re: [junit] JUnit 4.8 is released</title>
	<published>2009-12-02T19:42:33Z</published>
	<updated>2009-12-02T19:42:33Z</updated>
	<author>
		<name>David Saff</name>
	</author>
	<content type="html">[bcc: junit-announce]
&lt;br&gt;&lt;br&gt;That's a bit of a documentation bug: the example code was developed as
&lt;br&gt;inner classes, and I didn't edit out the &amp;quot;static&amp;quot; modifiers. &amp;nbsp;Will
&lt;br&gt;fix.
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp;David Saff
&lt;br&gt;&lt;br&gt;On Tue, Dec 1, 2009 at 8:47 PM, B. Sai Prasad, M.Phil, SCJP, MCP,
&lt;br&gt;MCTS, SSGB, PMP, PMI-SP &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26620584&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;sai.prasad.b@...&lt;/a&gt;&amp;gt; wrote:
&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; Hi David -
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; New feature - Categories - will help developers to selectively group and
&lt;br&gt;&amp;gt; execute test classes and methods.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; I was looking at the releasnotes4.8.html, and found the classes are static.
&lt;br&gt;&amp;gt; Any reason why it should be static?
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Regards
&lt;br&gt;&amp;gt; Sai
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; On Wed, Dec 2, 2009 at 2:33 AM, David Saff &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26620584&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;david@...&lt;/a&gt;&amp;gt; wrote:
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; JUnit 4.8 has been released. The primary new feature is preliminary
&lt;br&gt;&amp;gt;&amp;gt; support for Categories. For more information, see the release notes at
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; &lt;a href=&quot;http://kentbeck.github.com/junit/doc/ReleaseNotes4.8.html&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://kentbeck.github.com/junit/doc/ReleaseNotes4.8.html&lt;/a&gt;&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; and the javadoc at
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; &lt;a href=&quot;http://kentbeck.github.com/junit/javadoc/4.8/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://kentbeck.github.com/junit/javadoc/4.8/&lt;/a&gt;&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; and download from
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; &lt;a href=&quot;http://github.com/KentBeck/junit/downloads&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://github.com/KentBeck/junit/downloads&lt;/a&gt;&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; Share and Enjoy,
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; David Saff
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; --
&lt;br&gt;&amp;gt; What am I doing now? Visit  &lt;a href=&quot;http://twitter.com/saipower&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://twitter.com/saipower&lt;/a&gt;&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; [Non-text portions of this message have been removed]
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; ------------------------------------
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Yahoo! Groups Links
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;lt;*&amp;gt; To visit your group on the web, go to:
&lt;br&gt;&amp;gt;    &lt;a href=&quot;http://groups.yahoo.com/group/junit/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://groups.yahoo.com/group/junit/&lt;/a&gt;&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;lt;*&amp;gt; Your email settings:
&lt;br&gt;&amp;gt;    Individual Email | Traditional
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;lt;*&amp;gt; To change settings online go to:
&lt;br&gt;&amp;gt;    &lt;a href=&quot;http://groups.yahoo.com/group/junit/join&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://groups.yahoo.com/group/junit/join&lt;/a&gt;&lt;br&gt;&amp;gt;    (Yahoo! ID required)
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;lt;*&amp;gt; To change settings via email:
&lt;br&gt;&amp;gt;    &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26620584&amp;i=2&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;junit-digest@...&lt;/a&gt;
&lt;br&gt;&amp;gt;    &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26620584&amp;i=3&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;junit-fullfeatured@...&lt;/a&gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;lt;*&amp;gt; To unsubscribe from this group, send an email to:
&lt;br&gt;&amp;gt;    &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26620584&amp;i=4&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;junit-unsubscribe@...&lt;/a&gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;lt;*&amp;gt; Your use of Yahoo! Groups is subject to:
&lt;br&gt;&amp;gt;    &lt;a href=&quot;http://docs.yahoo.com/info/terms/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://docs.yahoo.com/info/terms/&lt;/a&gt;&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;/div&gt;&lt;br&gt;------------------------------------------------------------------------------
&lt;br&gt;Join us December 9, 2009 for the Red Hat Virtual Experience,
&lt;br&gt;a free event focused on virtualization and cloud computing. 
&lt;br&gt;Attend in-depth sessions from your desk. Your couch. Anywhere.
&lt;br&gt;&lt;a href=&quot;http://p.sf.net/sfu/redhat-sfdev2dev&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://p.sf.net/sfu/redhat-sfdev2dev&lt;/a&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;Junit-devel mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26620584&amp;i=5&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Junit-devel@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;https://lists.sourceforge.net/lists/listinfo/junit-devel&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://lists.sourceforge.net/lists/listinfo/junit-devel&lt;/a&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/JUnit---Dev-f2689.html&quot; embed=&quot;fixTarget[2689]&quot; target=&quot;_top&quot; &gt;JUnit - Dev&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/JUnit-4.8-is-released-tp26599053p26620584.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26618568</id>
	<title>Bug reports?</title>
	<published>2009-12-02T07:35:46Z</published>
	<updated>2009-12-02T07:35:46Z</updated>
	<author>
		<name>Bruce-87</name>
	</author>
	<content type="html">Hi,
&lt;br&gt;&lt;br&gt;Where should I submit a bug report for JUnit? &amp;nbsp;I wrote one up for this group a couple of days ago, but it never appeared. &amp;nbsp;Other messages have been posted since, so I'm assuming that I've posted it in the wrong spot.
&lt;br&gt;&lt;br&gt;Thanks,
&lt;br&gt;&amp;nbsp; Bruce
&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/JUnit---User-f2690.html&quot; embed=&quot;fixTarget[2690]&quot; target=&quot;_top&quot; &gt;JUnit - User&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Bug-reports--tp26618568p26618568.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26602946</id>
	<title>Re: JUnit 4.8 is released</title>
	<published>2009-12-01T19:23:03Z</published>
	<updated>2009-12-01T19:23:03Z</updated>
	<author>
		<name>Alistair Israel</name>
	</author>
	<content type="html">On Wed, Dec 2, 2009 at 5:03 AM, David Saff &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26602946&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;david@...&lt;/a&gt;&amp;gt; wrote:
&lt;br&gt;&amp;gt; JUnit 4.8 has been released. The primary new feature is preliminary
&lt;br&gt;&amp;gt; support for Categories.
&lt;br&gt;&lt;br&gt;&amp;gt; download from
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &lt;a href=&quot;http://github.com/KentBeck/junit/downloads&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://github.com/KentBeck/junit/downloads&lt;/a&gt;&lt;br&gt;&lt;br&gt;Congratulations and thanks! Hope it gets on the Maven repos soon...
&lt;br&gt;&lt;br&gt;- alistair
&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/JUnit---User-f2690.html&quot; embed=&quot;fixTarget[2690]&quot; target=&quot;_top&quot; &gt;JUnit - User&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/JUnit-4.8-is-released-tp26599023p26602946.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26602952</id>
	<title>Re: [junit] JUnit 4.8 is released</title>
	<published>2009-12-01T19:23:03Z</published>
	<updated>2009-12-01T19:23:03Z</updated>
	<author>
		<name>Alistair Israel</name>
	</author>
	<content type="html">On Wed, Dec 2, 2009 at 5:03 AM, David Saff &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26602952&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;david@...&lt;/a&gt;&amp;gt; wrote:
&lt;br&gt;&amp;gt; JUnit 4.8 has been released. The primary new feature is preliminary
&lt;br&gt;&amp;gt; support for Categories.
&lt;br&gt;&lt;br&gt;&amp;gt; download from
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &lt;a href=&quot;http://github.com/KentBeck/junit/downloads&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://github.com/KentBeck/junit/downloads&lt;/a&gt;&lt;br&gt;&lt;br&gt;Congratulations and thanks! Hope it gets on the Maven repos soon...
&lt;br&gt;&lt;br&gt;- alistair
&lt;br&gt;&lt;br&gt;------------------------------------------------------------------------------
&lt;br&gt;Join us December 9, 2009 for the Red Hat Virtual Experience,
&lt;br&gt;a free event focused on virtualization and cloud computing. 
&lt;br&gt;Attend in-depth sessions from your desk. Your couch. Anywhere.
&lt;br&gt;&lt;a href=&quot;http://p.sf.net/sfu/redhat-sfdev2dev&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://p.sf.net/sfu/redhat-sfdev2dev&lt;/a&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;Junit-devel mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26602952&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Junit-devel@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;https://lists.sourceforge.net/lists/listinfo/junit-devel&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://lists.sourceforge.net/lists/listinfo/junit-devel&lt;/a&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/JUnit---Dev-f2689.html&quot; embed=&quot;fixTarget[2689]&quot; target=&quot;_top&quot; &gt;JUnit - Dev&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/JUnit-4.8-is-released-tp26599053p26602952.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26618578</id>
	<title>Re: JUnit 4.8 is released</title>
	<published>2009-12-01T17:47:01Z</published>
	<updated>2009-12-01T17:47:01Z</updated>
	<author>
		<name>B. Sai Prasad, M.Phil, SCJP, MCP, MCTS, SSGB, PMP, PMI-SP</name>
	</author>
	<content type="html">Hi David -
&lt;br&gt;&lt;br&gt;New feature - Categories - will help developers to selectively group and
&lt;br&gt;execute test classes and methods.
&lt;br&gt;&lt;br&gt;I was looking at the releasnotes4.8.html, and found the classes are static.
&lt;br&gt;Any reason why it should be static?
&lt;br&gt;&lt;br&gt;Regards
&lt;br&gt;Sai
&lt;br&gt;&lt;br&gt;On Wed, Dec 2, 2009 at 2:33 AM, David Saff &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26618578&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;david@...&lt;/a&gt;&amp;gt; wrote:
&lt;br&gt;&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; JUnit 4.8 has been released. The primary new feature is preliminary
&lt;br&gt;&amp;gt; support for Categories. For more information, see the release notes at
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &lt;a href=&quot;http://kentbeck.github.com/junit/doc/ReleaseNotes4.8.html&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://kentbeck.github.com/junit/doc/ReleaseNotes4.8.html&lt;/a&gt;&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; and the javadoc at
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &lt;a href=&quot;http://kentbeck.github.com/junit/javadoc/4.8/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://kentbeck.github.com/junit/javadoc/4.8/&lt;/a&gt;&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; and download from
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &lt;a href=&quot;http://github.com/KentBeck/junit/downloads&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://github.com/KentBeck/junit/downloads&lt;/a&gt;&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Share and Enjoy,
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; David Saff
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt;
&lt;/div&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;-- 
&lt;br&gt;What am I doing now? Visit &amp;nbsp;&lt;a href=&quot;http://twitter.com/saipower&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://twitter.com/saipower&lt;/a&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;[Non-text portions of this message have been removed]
&lt;br&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/JUnit---User-f2690.html&quot; embed=&quot;fixTarget[2690]&quot; target=&quot;_top&quot; &gt;JUnit - User&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/JUnit-4.8-is-released-tp26599023p26618578.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26599023</id>
	<title>JUnit 4.8 is released</title>
	<published>2009-12-01T13:03:14Z</published>
	<updated>2009-12-01T13:03:14Z</updated>
	<author>
		<name>David Saff</name>
	</author>
	<content type="html">JUnit 4.8 has been released. The primary new feature is preliminary
&lt;br&gt;support for Categories. For more information, see the release notes at
&lt;br&gt;&lt;br&gt;&lt;a href=&quot;http://kentbeck.github.com/junit/doc/ReleaseNotes4.8.html&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://kentbeck.github.com/junit/doc/ReleaseNotes4.8.html&lt;/a&gt;&lt;br&gt;&lt;br&gt;and the javadoc at
&lt;br&gt;&lt;br&gt;&lt;a href=&quot;http://kentbeck.github.com/junit/javadoc/4.8/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://kentbeck.github.com/junit/javadoc/4.8/&lt;/a&gt;&lt;br&gt;&lt;br&gt;and download from
&lt;br&gt;&lt;br&gt;&lt;a href=&quot;http://github.com/KentBeck/junit/downloads&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://github.com/KentBeck/junit/downloads&lt;/a&gt;&lt;br&gt;&lt;br&gt;Share and Enjoy,
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp;David Saff
&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/JUnit---User-f2690.html&quot; embed=&quot;fixTarget[2690]&quot; target=&quot;_top&quot; &gt;JUnit - User&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/JUnit-4.8-is-released-tp26599023p26599023.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26599059</id>
	<title>JUnit 4.8 is released</title>
	<published>2009-12-01T13:03:14Z</published>
	<updated>2009-12-01T13:03:14Z</updated>
	<author>
		<name>David Saff</name>
	</author>
	<content type="html">JUnit 4.8 has been released. The primary new feature is preliminary
&lt;br&gt;support for Categories. For more information, see the release notes at
&lt;br&gt;&lt;br&gt;&lt;a href=&quot;http://kentbeck.github.com/junit/doc/ReleaseNotes4.8.html&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://kentbeck.github.com/junit/doc/ReleaseNotes4.8.html&lt;/a&gt;&lt;br&gt;&lt;br&gt;and the javadoc at
&lt;br&gt;&lt;br&gt;&lt;a href=&quot;http://kentbeck.github.com/junit/javadoc/4.8/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://kentbeck.github.com/junit/javadoc/4.8/&lt;/a&gt;&lt;br&gt;&lt;br&gt;and download from
&lt;br&gt;&lt;br&gt;&lt;a href=&quot;http://github.com/KentBeck/junit/downloads&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://github.com/KentBeck/junit/downloads&lt;/a&gt;&lt;br&gt;&lt;br&gt;Share and Enjoy,
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp;David Saff
&lt;br&gt;&lt;br&gt;------------------------------------------------------------------------------
&lt;br&gt;Join us December 9, 2009 for the Red Hat Virtual Experience,
&lt;br&gt;a free event focused on virtualization and cloud computing. 
&lt;br&gt;Attend in-depth sessions from your desk. Your couch. Anywhere.
&lt;br&gt;&lt;a href=&quot;http://p.sf.net/sfu/redhat-sfdev2dev&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://p.sf.net/sfu/redhat-sfdev2dev&lt;/a&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;Junit-announce mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26599059&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Junit-announce@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;https://lists.sourceforge.net/lists/listinfo/junit-announce&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://lists.sourceforge.net/lists/listinfo/junit-announce&lt;/a&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/JUnit---Announce-f2688.html&quot; embed=&quot;fixTarget[2688]&quot; target=&quot;_top&quot; &gt;JUnit - Announce&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/JUnit-4.8-is-released-tp26599059p26599059.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26599053</id>
	<title>JUnit 4.8 is released</title>
	<published>2009-12-01T13:03:14Z</published>
	<updated>2009-12-01T13:03:14Z</updated>
	<author>
		<name>David Saff</name>
	</author>
	<content type="html">JUnit 4.8 has been released. The primary new feature is preliminary
&lt;br&gt;support for Categories. For more information, see the release notes at
&lt;br&gt;&lt;br&gt;&lt;a href=&quot;http://kentbeck.github.com/junit/doc/ReleaseNotes4.8.html&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://kentbeck.github.com/junit/doc/ReleaseNotes4.8.html&lt;/a&gt;&lt;br&gt;&lt;br&gt;and the javadoc at
&lt;br&gt;&lt;br&gt;&lt;a href=&quot;http://kentbeck.github.com/junit/javadoc/4.8/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://kentbeck.github.com/junit/javadoc/4.8/&lt;/a&gt;&lt;br&gt;&lt;br&gt;and download from
&lt;br&gt;&lt;br&gt;&lt;a href=&quot;http://github.com/KentBeck/junit/downloads&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://github.com/KentBeck/junit/downloads&lt;/a&gt;&lt;br&gt;&lt;br&gt;Share and Enjoy,
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp;David Saff
&lt;br&gt;&lt;br&gt;------------------------------------------------------------------------------
&lt;br&gt;Join us December 9, 2009 for the Red Hat Virtual Experience,
&lt;br&gt;a free event focused on virtualization and cloud computing. 
&lt;br&gt;Attend in-depth sessions from your desk. Your couch. Anywhere.
&lt;br&gt;&lt;a href=&quot;http://p.sf.net/sfu/redhat-sfdev2dev&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://p.sf.net/sfu/redhat-sfdev2dev&lt;/a&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;Junit-devel mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26599053&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Junit-devel@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;https://lists.sourceforge.net/lists/listinfo/junit-devel&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://lists.sourceforge.net/lists/listinfo/junit-devel&lt;/a&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/JUnit---Dev-f2689.html&quot; embed=&quot;fixTarget[2689]&quot; target=&quot;_top&quot; &gt;JUnit - Dev&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/JUnit-4.8-is-released-tp26599053p26599053.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26584076</id>
	<title>Re: Categories in JUnit 4.8</title>
	<published>2009-11-30T15:32:28Z</published>
	<updated>2009-11-30T15:32:28Z</updated>
	<author>
		<name>yme0987654321</name>
	</author>
	<content type="html">I think that is a great point. It may often be more practical to tag tests for exclusion, based on execution time or external resource constraints than to tag fast tests.
&lt;br&gt;&lt;br&gt;I found it easier to use assumptions to exclude such tests, because I can state the assumption in a setup class that sets up the intensive resource and have the unit test automatically excluded just for writing it, but I can definitely see categories being a good exclusion mechanism.
&lt;br&gt;&lt;br&gt;--- In &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26584076&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;junit@...&lt;/a&gt;, &amp;quot;Pigneri, Rocco&amp;quot; &amp;lt;rpigneri@...&amp;gt; wrote:
&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt; But group exclusion has other uses, such as &amp;quot;running all the tests except
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt; the slow ones&amp;quot;, &amp;quot;excluding the ui tests&amp;quot;, &amp;quot;excluding the Linux tests&amp;quot;,
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt; etc...
&lt;br&gt;&amp;gt; &amp;gt;
&lt;br&gt;&amp;gt; &amp;gt; &amp;lt;snip&amp;gt;
&lt;br&gt;&amp;gt; &amp;gt;
&lt;br&gt;&amp;gt; &amp;gt;Got it. So we seem in agreement that excluded categories may be
&lt;br&gt;&amp;gt; &amp;gt;useful, but a &amp;quot;broken&amp;quot; category is not the best argument for them.
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; I also agree. &amp;nbsp;I almost exclusively use categories to exclude certain types of tests, such as database tests, slow tests, integration tests, etc. from my main test run. &amp;nbsp;In fact, for me, putting tests into a category is an exception rather than a rule: in other words, I only mark tests that I would *not* want to execute on each run of the test suite. &amp;nbsp;All other tests get run on every run, each time.
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; Hope that helps,
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; Rocco
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; From: &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26584076&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;junit@...&lt;/a&gt; [mailto:&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26584076&amp;i=2&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;junit@...&lt;/a&gt;] On Behalf Of David Saff
&lt;br&gt;&amp;gt; Sent: Sunday, November 22, 2009 10:53 PM
&lt;br&gt;&amp;gt; To: &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26584076&amp;i=3&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;junit@...&lt;/a&gt;
&lt;br&gt;&amp;gt; Subject: Re: [junit] Re: Categories in JUnit 4.8
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; 2009/11/22 CÃ©dric Beust â&amp;quot; &amp;lt;cbeust@...&amp;lt;mailto:cbeust%40google.com&amp;gt;&amp;gt;:
&lt;br&gt;&amp;gt; &amp;gt; On Sun, Nov 22, 2009 at 7:36 PM, David Saff &amp;lt;david@...&amp;lt;mailto:david%40saff.net&amp;gt;&amp;gt; wrote:
&lt;br&gt;&amp;gt; &amp;gt;
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt; &amp;gt; The problem with @Ignore is that 1) you need to specify it on all the
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt; &amp;gt; methods you want to exclude and 2) it forces a recompilation.
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt; &amp;gt;
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt; &amp;gt; Being able to specify &amp;quot;-ignore broken&amp;quot; at runtime allows you to exclude
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt; &amp;gt; dozens of methods in one single command.
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt; This story makes sense to me if you have many tests in the broken
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt; group, and sometimes want to run all of them, and sometimes want to
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt; run none of them. Is that your frequent experience? If so, I agree
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt; that excludable categories would be the way to do it.
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;gt;
&lt;br&gt;&amp;gt; &amp;gt; No, I never really run all the methods in the excluded groups, most of the
&lt;br&gt;&amp;gt; &amp;gt; time, their purpose is just to be excluded. &amp;nbsp;When I want to start fixing the
&lt;br&gt;&amp;gt; &amp;gt; broken tests, I look at all the tests in that group and I take them out of
&lt;br&gt;&amp;gt; &amp;gt; it one by one as I fix them.
&lt;br&gt;&amp;gt; &amp;gt;
&lt;br&gt;&amp;gt; &amp;gt; But group exclusion has other uses, such as &amp;quot;running all the tests except
&lt;br&gt;&amp;gt; &amp;gt; the slow ones&amp;quot;, &amp;quot;excluding the ui tests&amp;quot;, &amp;quot;excluding the Linux tests&amp;quot;,
&lt;br&gt;&amp;gt; &amp;gt; etc...
&lt;br&gt;&amp;gt; &amp;gt;
&lt;br&gt;&amp;gt; &amp;gt; Admittedly, this is more on the integration/functional than on the unit test
&lt;br&gt;&amp;gt; &amp;gt; side, so you might consider these out of scope for JUnit.
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; Got it. So we seem in agreement that excluded categories may be
&lt;br&gt;&amp;gt; useful, but a &amp;quot;broken&amp;quot; category is not the best argument for them.
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; David Saff
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; &amp;gt;
&lt;br&gt;&amp;gt; &amp;gt;
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt; In my frequent experience, I tend to never run all the tests in the
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt; &amp;quot;broken&amp;quot; set: I enable them one by one, and fix them, when I can, so
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt; @Ignore works fine for me.
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;gt;
&lt;br&gt;&amp;gt; &amp;gt; That's also my experience for the Broken category.
&lt;br&gt;&amp;gt; &amp;gt;
&lt;br&gt;&amp;gt; &amp;gt; --
&lt;br&gt;&amp;gt; &amp;gt; ***CÃ©dric
&lt;br&gt;&amp;gt; &amp;gt; *
&lt;br&gt;&amp;gt; &amp;gt;
&lt;br&gt;&amp;gt; &amp;gt;
&lt;br&gt;&amp;gt; &amp;gt; [Non-text portions of this message have been removed]
&lt;br&gt;&amp;gt; &amp;gt;
&lt;br&gt;&amp;gt; &amp;gt;
&lt;br&gt;&amp;gt; &amp;gt;
&lt;br&gt;&amp;gt; &amp;gt; ------------------------------------
&lt;br&gt;&amp;gt; &amp;gt;
&lt;br&gt;&amp;gt; &amp;gt; Yahoo! Groups Links
&lt;br&gt;&amp;gt; &amp;gt;
&lt;br&gt;&amp;gt; &amp;gt;
&lt;br&gt;&amp;gt; &amp;gt;
&lt;br&gt;&amp;gt; &amp;gt;
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; [Non-text portions of this message have been removed]
&lt;br&gt;&amp;gt;
&lt;/div&gt;&lt;br&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/JUnit---User-f2690.html&quot; embed=&quot;fixTarget[2690]&quot; target=&quot;_top&quot; &gt;JUnit - User&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Categories-in-JUnit-4.8-tp26395582p26584076.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26582773</id>
	<title>RE: Re: Categories in JUnit 4.8</title>
	<published>2009-11-30T13:58:42Z</published>
	<updated>2009-11-30T13:58:42Z</updated>
	<author>
		<name>Pigneri, Rocco-2</name>
	</author>
	<content type="html">&amp;gt;&amp;gt; But group exclusion has other uses, such as &amp;quot;running all the tests except
&lt;br&gt;&amp;gt;&amp;gt; the slow ones&amp;quot;, &amp;quot;excluding the ui tests&amp;quot;, &amp;quot;excluding the Linux tests&amp;quot;,
&lt;br&gt;&amp;gt;&amp;gt; etc...
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;lt;snip&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;Got it. So we seem in agreement that excluded categories may be
&lt;br&gt;&amp;gt;useful, but a &amp;quot;broken&amp;quot; category is not the best argument for them.
&lt;br&gt;&lt;br&gt;I also agree. &amp;nbsp;I almost exclusively use categories to exclude certain types of tests, such as database tests, slow tests, integration tests, etc. from my main test run. &amp;nbsp;In fact, for me, putting tests into a category is an exception rather than a rule: in other words, I only mark tests that I would *not* want to execute on each run of the test suite. &amp;nbsp;All other tests get run on every run, each time.
&lt;br&gt;&lt;br&gt;Hope that helps,
&lt;br&gt;&lt;br&gt;Rocco
&lt;br&gt;&lt;br&gt;From: &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26582773&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;junit@...&lt;/a&gt; [mailto:&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26582773&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;junit@...&lt;/a&gt;] On Behalf Of David Saff
&lt;br&gt;Sent: Sunday, November 22, 2009 10:53 PM
&lt;br&gt;To: &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26582773&amp;i=2&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;junit@...&lt;/a&gt;
&lt;br&gt;Subject: Re: [junit] Re: Categories in JUnit 4.8
&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;2009/11/22 Cédric Beust ♔ &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26582773&amp;i=3&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;cbeust@...&lt;/a&gt;&amp;lt;mailto:cbeust%40google.com&amp;gt;&amp;gt;:
&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; On Sun, Nov 22, 2009 at 7:36 PM, David Saff &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26582773&amp;i=4&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;david@...&lt;/a&gt;&amp;lt;mailto:david%40saff.net&amp;gt;&amp;gt; wrote:
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; &amp;gt; The problem with @Ignore is that 1) you need to specify it on all the
&lt;br&gt;&amp;gt;&amp;gt; &amp;gt; methods you want to exclude and 2) it forces a recompilation.
&lt;br&gt;&amp;gt;&amp;gt; &amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; &amp;gt; Being able to specify &amp;quot;-ignore broken&amp;quot; at runtime allows you to exclude
&lt;br&gt;&amp;gt;&amp;gt; &amp;gt; dozens of methods in one single command.
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; This story makes sense to me if you have many tests in the broken
&lt;br&gt;&amp;gt;&amp;gt; group, and sometimes want to run all of them, and sometimes want to
&lt;br&gt;&amp;gt;&amp;gt; run none of them. Is that your frequent experience? If so, I agree
&lt;br&gt;&amp;gt;&amp;gt; that excludable categories would be the way to do it.
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; No, I never really run all the methods in the excluded groups, most of the
&lt;br&gt;&amp;gt; time, their purpose is just to be excluded. &amp;nbsp;When I want to start fixing the
&lt;br&gt;&amp;gt; broken tests, I look at all the tests in that group and I take them out of
&lt;br&gt;&amp;gt; it one by one as I fix them.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; But group exclusion has other uses, such as &amp;quot;running all the tests except
&lt;br&gt;&amp;gt; the slow ones&amp;quot;, &amp;quot;excluding the ui tests&amp;quot;, &amp;quot;excluding the Linux tests&amp;quot;,
&lt;br&gt;&amp;gt; etc...
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Admittedly, this is more on the integration/functional than on the unit test
&lt;br&gt;&amp;gt; side, so you might consider these out of scope for JUnit.
&lt;/div&gt;&lt;br&gt;Got it. So we seem in agreement that excluded categories may be
&lt;br&gt;useful, but a &amp;quot;broken&amp;quot; category is not the best argument for them.
&lt;br&gt;&lt;br&gt;David Saff
&lt;br&gt;&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; In my frequent experience, I tend to never run all the tests in the
&lt;br&gt;&amp;gt;&amp;gt; &amp;quot;broken&amp;quot; set: I enable them one by one, and fix them, when I can, so
&lt;br&gt;&amp;gt;&amp;gt; @Ignore works fine for me.
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; That's also my experience for the Broken category.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; --
&lt;br&gt;&amp;gt; ***Cédric
&lt;br&gt;&amp;gt; *
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; [Non-text portions of this message have been removed]
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; ------------------------------------
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Yahoo! Groups Links
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;/div&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;[Non-text portions of this message have been removed]
&lt;br&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/JUnit---User-f2690.html&quot; embed=&quot;fixTarget[2690]&quot; target=&quot;_top&quot; &gt;JUnit - User&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Categories-in-JUnit-4.8-tp26395582p26582773.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26618575</id>
	<title>-Djava.ext.dirs issue?</title>
	<published>2009-11-30T07:52:33Z</published>
	<updated>2009-11-30T07:52:33Z</updated>
	<author>
		<name>Bruce-87</name>
	</author>
	<content type="html">Hi,
&lt;br&gt;&lt;br&gt;I have a problem where if I specify the java &amp;quot;ext&amp;quot; directory, JUnit is unable to find my test class. &amp;nbsp;Whereas, if I just use &amp;quot;classpath&amp;quot;, everything is fine. &amp;nbsp;Since my tests will ultimately depend on a number of 3rd party libraries, I really want to just use the &amp;quot;ext&amp;quot; directory approach.
&lt;br&gt;&lt;br&gt;For example:
&lt;br&gt;&lt;br&gt;java -classpath /home/cowan/src/atst/lib/java/classes -Djava.ext.dirs=/home/cowan/src/atst/lib/java/ext org.junit.runner.JUnitCore atst.cs.test.TestAll &amp;nbsp;
&lt;br&gt;&lt;br&gt;this ends up with 
&lt;br&gt;&amp;nbsp; &amp;nbsp;JUnit version 4.7
&lt;br&gt;&amp;nbsp; &amp;nbsp;Could not find class: atst.cs.test.TestAll
&lt;br&gt;&lt;br&gt;The strange thing is that if I use the verbose flag on java, it even logs that it successfully loaded the TestAll class from the appropriate directory before later displaying the error.
&lt;br&gt;&lt;br&gt;If I modify the command line to:
&lt;br&gt;&lt;br&gt;java -classpath /home/cowan/src/atst/lib/java/classes:/home/cowan/tools/junit4.7/junit.jar &amp;nbsp;org.junit.runner.JUnitCore atst.cs.test.TestAll
&lt;br&gt;&lt;br&gt;everything works as expected.
&lt;br&gt;&lt;br&gt;Does anyone know why -Djava.ext.dirs seems to cause JUnit to malfunction? &amp;nbsp;(I've only tried this with JUnit 4.7)
&lt;br&gt;&lt;br&gt;Thanks,
&lt;br&gt;&amp;nbsp; Bruce
&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/JUnit---User-f2690.html&quot; embed=&quot;fixTarget[2690]&quot; target=&quot;_top&quot; &gt;JUnit - User&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/-Djava.ext.dirs-issue--tp26618575p26618575.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26547502</id>
	<title>Re: Big abstract class test, Test Suite and JUnit 4 problem</title>
	<published>2009-11-27T08:24:28Z</published>
	<updated>2009-11-27T08:24:28Z</updated>
	<author>
		<name>Georg-21</name>
	</author>
	<content type="html">&lt;br&gt;&lt;br&gt;--- In &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26547502&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;junit@...&lt;/a&gt;, &amp;quot;Fedy2&amp;quot; &amp;lt;fedy2@...&amp;gt; wrote:
&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; --- In &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26547502&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;junit@...&lt;/a&gt;, Mike Forsberg &amp;lt;bigmike@&amp;gt; wrote:
&lt;br&gt;&amp;gt; &amp;gt;
&lt;br&gt;&amp;gt; &amp;gt; I wonder why you are extending TestCase if you are using annotations?
&lt;br&gt;&amp;gt; &amp;gt; Extending the TestCase class is the old 3.x way of doing things. 
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; I needed it to put my test classes into a testsuite. The addTest method accept only Test interface implementations.
&lt;/div&gt;&lt;br&gt;To cite an earlier post: this is the old way of doing things. Annotate the suite-to-be with @RunWith(Suite.class)
&lt;br&gt;and @SuiteClasses(...)
&lt;br&gt;The test classes then neither need to extend some class or any annotation other than @Test for the methods initiating the tests.
&lt;br&gt;You may even look into the new 4.8 featue : categories.
&lt;br&gt;&lt;br&gt;Cheers,
&lt;br&gt;&amp;nbsp; Georg
&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/JUnit---User-f2690.html&quot; embed=&quot;fixTarget[2690]&quot; target=&quot;_top&quot; &gt;JUnit - User&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Big-abstract-class-test%2C-Test-Suite-and-JUnit-4-problem-tp26526547p26547502.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26547547</id>
	<title>Re: Big abstract class test, Test Suite and JUnit 4 problem</title>
	<published>2009-11-26T21:47:34Z</published>
	<updated>2009-11-26T21:47:34Z</updated>
	<author>
		<name>Georg-21</name>
	</author>
	<content type="html">Hi!
&lt;br&gt;&lt;br&gt;TestCase is just a compatibility feature from earlier versions of Junit. You likely want to do the following:
&lt;br&gt;place only the common things into the abstract class T (you can use annotation there).
&lt;br&gt;Place the test-specifics into T1, T2,... and introduce a Suite 
&lt;br&gt;comprising T1, T2,...
&lt;br&gt;&lt;br&gt;OR is there a reason why you cannot refactor T into &amp;nbsp;smaller parts?
&lt;br&gt;&lt;br&gt;As for applying tests to different classes implementing the same interface, look at parametrized tests. I used this in JLinAlg. You may need, though, a factories for A and B implementing a common interface F. 
&lt;br&gt;&lt;br&gt;Ho this hleps,
&lt;br&gt;&amp;nbsp; Georg
&lt;br&gt;&lt;br&gt;&lt;br&gt;--- In &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26547547&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;junit@...&lt;/a&gt;, &amp;quot;Fedy2&amp;quot; &amp;lt;fedy2@...&amp;gt; wrote:
&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Hi all,
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; I have this situation:
&lt;br&gt;&amp;gt; A big interface &amp;quot;I&amp;quot; which is implemented by the &amp;quot;A&amp;quot; and &amp;quot;B&amp;quot; classes.
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; I've solved the problem of wrote only one test for both implementations using the method described here:
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; &lt;a href=&quot;http://c2.com/cgi/wiki?AbstractTestCases&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://c2.com/cgi/wiki?AbstractTestCases&lt;/a&gt;&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; So I have an abstract class &amp;quot;T&amp;quot; with all methods test for &amp;quot;I&amp;quot; annotated as JUnit 4 specify, then I instantiate &amp;quot;T&amp;quot; passing &amp;quot;A&amp;quot; or &amp;quot;B&amp;quot; instance.
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; Now, I need to split the tests in &amp;quot;T&amp;quot; in different classes &amp;quot;T1,.., Tn&amp;quot; and I want to collect it under a common test suite &amp;quot;TS&amp;quot;.
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; I have tried this solution:
&lt;br&gt;&amp;gt; &amp;quot;TS&amp;quot; extends TestSuite and on the constructor add the &amp;quot;T1,..,Tn&amp;quot; instances to the test suite.
&lt;br&gt;&amp;gt; But this solution don't work because &amp;quot;T1&amp;quot; need to extend TestCase and in &amp;quot;T1&amp;quot; I'm using JUnit 4 annotations. 
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; Any idea how to solve the problem?
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; Thanks
&lt;br&gt;&amp;gt; Federico
&lt;br&gt;&amp;gt;
&lt;/div&gt;&lt;br&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/JUnit---User-f2690.html&quot; embed=&quot;fixTarget[2690]&quot; target=&quot;_top&quot; &gt;JUnit - User&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Big-abstract-class-test%2C-Test-Suite-and-JUnit-4-problem-tp26526547p26547547.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26536750</id>
	<title>Re: Big abstract class test, Test Suite and JUnit 4 problem</title>
	<published>2009-11-26T15:53:29Z</published>
	<updated>2009-11-26T15:53:29Z</updated>
	<author>
		<name>Fedy2-2</name>
	</author>
	<content type="html">&lt;br&gt;&lt;br&gt;--- In &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26536750&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;junit@...&lt;/a&gt;, Mike Forsberg &amp;lt;bigmike@...&amp;gt; wrote:
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; I wonder why you are extending TestCase if you are using annotations?
&lt;br&gt;&amp;gt; Extending the TestCase class is the old 3.x way of doing things. 
&lt;br&gt;&lt;br&gt;&lt;br&gt;I needed it to put my test classes into a testsuite. The addTest method accept only Test interface implementations.
&lt;br&gt;&lt;br&gt;&lt;br&gt;&amp;nbsp;Now,
&lt;br&gt;&amp;gt; you only need to implement a method and annotate it with @Test to make
&lt;br&gt;&amp;gt; a test method.
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; Also I don't know why you are constructing instances of the tests...
&lt;br&gt;&lt;br&gt;For pass it the Interface implementation to test.
&lt;br&gt;&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; If you'd like more help I'll write up a snippet of code and post it to
&lt;br&gt;&amp;gt; the mailing list.
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; Big Mike
&lt;br&gt;&lt;br&gt;I think your article is OK.
&lt;br&gt;&lt;br&gt;Thanks
&lt;br&gt;Federico
&lt;br&gt;&lt;br&gt;&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; On Thu, Nov 26, 2009 at 3:11 AM, Fedy2 &amp;lt;fedy2@...&amp;gt; wrote:
&lt;br&gt;&amp;gt; &amp;gt; Hi all,
&lt;br&gt;&amp;gt; &amp;gt;
&lt;br&gt;&amp;gt; &amp;gt; I have this situation:
&lt;br&gt;&amp;gt; &amp;gt; A big interface &amp;quot;I&amp;quot; which is implemented by the &amp;quot;A&amp;quot; and &amp;quot;B&amp;quot; classes.
&lt;br&gt;&amp;gt; &amp;gt;
&lt;br&gt;&amp;gt; &amp;gt; I've solved the problem of wrote only one test for both implementations using the method described here:
&lt;br&gt;&amp;gt; &amp;gt;
&lt;br&gt;&amp;gt; &amp;gt; &lt;a href=&quot;http://c2.com/cgi/wiki?AbstractTestCases&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://c2.com/cgi/wiki?AbstractTestCases&lt;/a&gt;&lt;br&gt;&amp;gt; &amp;gt;
&lt;br&gt;&amp;gt; &amp;gt; So I have an abstract class &amp;quot;T&amp;quot; with all methods test for &amp;quot;I&amp;quot; annotated as JUnit 4 specify, then I instantiate &amp;quot;T&amp;quot; passing &amp;quot;A&amp;quot; or &amp;quot;B&amp;quot; instance.
&lt;br&gt;&amp;gt; &amp;gt;
&lt;br&gt;&amp;gt; &amp;gt;
&lt;br&gt;&amp;gt; &amp;gt; Now, I need to split the tests in &amp;quot;T&amp;quot; in different classes &amp;quot;T1,.., Tn&amp;quot; and I want to collect it under a common test suite &amp;quot;TS&amp;quot;.
&lt;br&gt;&amp;gt; &amp;gt;
&lt;br&gt;&amp;gt; &amp;gt; I have tried this solution:
&lt;br&gt;&amp;gt; &amp;gt; &amp;quot;TS&amp;quot; extends TestSuite and on the constructor add the &amp;quot;T1,..,Tn&amp;quot; instances to the test suite.
&lt;br&gt;&amp;gt; &amp;gt; But this solution don't work because &amp;quot;T1&amp;quot; need to extend TestCase and in &amp;quot;T1&amp;quot; I'm using JUnit 4 annotations.
&lt;br&gt;&amp;gt; &amp;gt;
&lt;br&gt;&amp;gt; &amp;gt; Any idea how to solve the problem?
&lt;br&gt;&amp;gt; &amp;gt;
&lt;br&gt;&amp;gt; &amp;gt; Thanks
&lt;br&gt;&amp;gt; &amp;gt; Federico
&lt;br&gt;&amp;gt; &amp;gt;
&lt;br&gt;&amp;gt; &amp;gt;
&lt;br&gt;&amp;gt; &amp;gt;
&lt;br&gt;&amp;gt; &amp;gt; ------------------------------------
&lt;br&gt;&amp;gt; &amp;gt;
&lt;br&gt;&amp;gt; &amp;gt; Yahoo! Groups Links
&lt;br&gt;&amp;gt; &amp;gt;
&lt;br&gt;&amp;gt; &amp;gt;
&lt;br&gt;&amp;gt; &amp;gt;
&lt;br&gt;&amp;gt; &amp;gt;
&lt;br&gt;&amp;gt;
&lt;/div&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/JUnit---User-f2690.html&quot; embed=&quot;fixTarget[2690]&quot; target=&quot;_top&quot; &gt;JUnit - User&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Big-abstract-class-test%2C-Test-Suite-and-JUnit-4-problem-tp26526547p26536750.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26536755</id>
	<title>Re: Big abstract class test, Test Suite and JUnit 4 problem</title>
	<published>2009-11-26T15:40:22Z</published>
	<updated>2009-11-26T15:40:22Z</updated>
	<author>
		<name>Fedy2-2</name>
	</author>
	<content type="html">Hi Big Mike, 
&lt;br&gt;thanks for your article. Your solution is for sure an answer to my problem.
&lt;br&gt;&lt;br&gt;There is an aspect that I don't like, with that solution I need to instantiate an interface implementation (&amp;quot;A&amp;quot;,&amp;quot;B&amp;quot;.. classes) for each test class. That was the reason why I was trying to put all test classes in a test suite, anyway this is not a big problem.
&lt;br&gt;&lt;br&gt;Thanks. 
&lt;br&gt;Federico
&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;--- In &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26536755&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;junit@...&lt;/a&gt;, Mike Forsberg &amp;lt;bigmike.f@...&amp;gt; wrote:
&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; I just posted some sample code about this topic on my blog.
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; It will be a more polished response in the future, but for now take a look.
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; &lt;a href=&quot;http://bigmikef.blogspot.com/2009/11/reply-to-junit-mailing-list-about.html&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://bigmikef.blogspot.com/2009/11/reply-to-junit-mailing-list-about.html&lt;/a&gt;&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; Big Mike
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; On Thu, Nov 26, 2009 at 2:23 PM, Mike Forsberg &amp;lt;bigmike@...&amp;gt; wrote:
&lt;br&gt;&amp;gt; &amp;gt; I wonder why you are extending TestCase if you are using annotations?
&lt;br&gt;&amp;gt; &amp;gt; Extending the TestCase class is the old 3.x way of doing things.  Now,
&lt;br&gt;&amp;gt; &amp;gt; you only need to implement a method and annotate it with @Test to make
&lt;br&gt;&amp;gt; &amp;gt; a test method.
&lt;br&gt;&amp;gt; &amp;gt;
&lt;br&gt;&amp;gt; &amp;gt; Also I don't know why you are constructing instances of the tests...
&lt;br&gt;&amp;gt; &amp;gt;
&lt;br&gt;&amp;gt; &amp;gt; If you'd like more help I'll write up a snippet of code and post it to
&lt;br&gt;&amp;gt; &amp;gt; the mailing list.
&lt;br&gt;&amp;gt; &amp;gt;
&lt;br&gt;&amp;gt; &amp;gt; Big Mike
&lt;br&gt;&amp;gt; &amp;gt;
&lt;br&gt;&amp;gt; &amp;gt; On Thu, Nov 26, 2009 at 3:11 AM, Fedy2 &amp;lt;fedy2@...&amp;gt; wrote:
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt; Hi all,
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt; I have this situation:
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt; A big interface &amp;quot;I&amp;quot; which is implemented by the &amp;quot;A&amp;quot; and &amp;quot;B&amp;quot; classes.
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt; I've solved the problem of wrote only one test for both implementations using the method described here:
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt; &lt;a href=&quot;http://c2.com/cgi/wiki?AbstractTestCases&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://c2.com/cgi/wiki?AbstractTestCases&lt;/a&gt;&lt;br&gt;&amp;gt; &amp;gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt; So I have an abstract class &amp;quot;T&amp;quot; with all methods test for &amp;quot;I&amp;quot; annotated as JUnit 4 specify, then I instantiate &amp;quot;T&amp;quot; passing &amp;quot;A&amp;quot; or &amp;quot;B&amp;quot; instance.
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt; Now, I need to split the tests in &amp;quot;T&amp;quot; in different classes &amp;quot;T1,.., Tn&amp;quot; and I want to collect it under a common test suite &amp;quot;TS&amp;quot;.
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt; I have tried this solution:
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt; &amp;quot;TS&amp;quot; extends TestSuite and on the constructor add the &amp;quot;T1,..,Tn&amp;quot; instances to the test suite.
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt; But this solution don't work because &amp;quot;T1&amp;quot; need to extend TestCase and in &amp;quot;T1&amp;quot; I'm using JUnit 4 annotations.
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt; Any idea how to solve the problem?
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt; Thanks
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt; Federico
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt; ------------------------------------
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt; Yahoo! Groups Links
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;gt;
&lt;br&gt;&amp;gt;
&lt;/div&gt;&lt;br&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/JUnit---User-f2690.html&quot; embed=&quot;fixTarget[2690]&quot; target=&quot;_top&quot; &gt;JUnit - User&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Big-abstract-class-test%2C-Test-Suite-and-JUnit-4-problem-tp26526547p26536755.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26535440</id>
	<title>Re: Big abstract class test, Test Suite and JUnit 4 problem</title>
	<published>2009-11-26T13:21:20Z</published>
	<updated>2009-11-26T13:21:20Z</updated>
	<author>
		<name>Mike Forsberg-2</name>
	</author>
	<content type="html">I just posted some sample code about this topic on my blog.
&lt;br&gt;&lt;br&gt;It will be a more polished response in the future, but for now take a look.
&lt;br&gt;&lt;br&gt;&lt;a href=&quot;http://bigmikef.blogspot.com/2009/11/reply-to-junit-mailing-list-about.html&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://bigmikef.blogspot.com/2009/11/reply-to-junit-mailing-list-about.html&lt;/a&gt;&lt;br&gt;&lt;br&gt;Big Mike
&lt;br&gt;&lt;br&gt;On Thu, Nov 26, 2009 at 2:23 PM, Mike Forsberg &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26535440&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;bigmike@...&lt;/a&gt;&amp;gt; wrote:
&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; I wonder why you are extending TestCase if you are using annotations?
&lt;br&gt;&amp;gt; Extending the TestCase class is the old 3.x way of doing things.  Now,
&lt;br&gt;&amp;gt; you only need to implement a method and annotate it with @Test to make
&lt;br&gt;&amp;gt; a test method.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Also I don't know why you are constructing instances of the tests...
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; If you'd like more help I'll write up a snippet of code and post it to
&lt;br&gt;&amp;gt; the mailing list.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Big Mike
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; On Thu, Nov 26, 2009 at 3:11 AM, Fedy2 &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26535440&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;fedy2@...&lt;/a&gt;&amp;gt; wrote:
&lt;br&gt;&amp;gt;&amp;gt; Hi all,
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; I have this situation:
&lt;br&gt;&amp;gt;&amp;gt; A big interface &amp;quot;I&amp;quot; which is implemented by the &amp;quot;A&amp;quot; and &amp;quot;B&amp;quot; classes.
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; I've solved the problem of wrote only one test for both implementations using the method described here:
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; &lt;a href=&quot;http://c2.com/cgi/wiki?AbstractTestCases&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://c2.com/cgi/wiki?AbstractTestCases&lt;/a&gt;&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; So I have an abstract class &amp;quot;T&amp;quot; with all methods test for &amp;quot;I&amp;quot; annotated as JUnit 4 specify, then I instantiate &amp;quot;T&amp;quot; passing &amp;quot;A&amp;quot; or &amp;quot;B&amp;quot; instance.
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; Now, I need to split the tests in &amp;quot;T&amp;quot; in different classes &amp;quot;T1,.., Tn&amp;quot; and I want to collect it under a common test suite &amp;quot;TS&amp;quot;.
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; I have tried this solution:
&lt;br&gt;&amp;gt;&amp;gt; &amp;quot;TS&amp;quot; extends TestSuite and on the constructor add the &amp;quot;T1,..,Tn&amp;quot; instances to the test suite.
&lt;br&gt;&amp;gt;&amp;gt; But this solution don't work because &amp;quot;T1&amp;quot; need to extend TestCase and in &amp;quot;T1&amp;quot; I'm using JUnit 4 annotations.
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; Any idea how to solve the problem?
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; Thanks
&lt;br&gt;&amp;gt;&amp;gt; Federico
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; ------------------------------------
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; Yahoo! Groups Links
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&lt;/div&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/JUnit---User-f2690.html&quot; embed=&quot;fixTarget[2690]&quot; target=&quot;_top&quot; &gt;JUnit - User&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Big-abstract-class-test%2C-Test-Suite-and-JUnit-4-problem-tp26526547p26535440.html" />
</entry>

</feed>
