Skip to search.

Breaking News Visit Yahoo! News for the latest.

×Close this window

junit · JUnit, the Java unit testing framework written by Kent Beck and Erich Gamma.

The Yahoo! Groups Product Blog

Check it out!

Group Information

  • Members: 31224
  • Category: Java
  • Founded: Nov 6, 2000
  • Language: English
? Already a member? Sign in to Yahoo!

Yahoo! Groups Tips

Did you know...
Hear how Yahoo! Groups has changed the lives of others. Take me there.

Messages

Advanced
Messages Help
  Newest  |  < Newer  |  Older >  |  Oldest
Topics Messages Latest Post

Hello everybody, please let me know, whether it is possible to define more Runner implementations in one JUnit class. In my case I would like to use both...
5 Feb 5, 2010
2:01 pm

Gabriel Forro
gabriel.forro
Send Email

I downloaded junit4.8.1.zip file from http://sourceforge.net/projects/junit/files/junit/, and extracted all file of the root directory C:. I am using Eclipse...
2 Feb 4, 2010
1:48 pm

David Saff
dsaff
Send Email

Some of the annotations are pretty well understood and map directly to JUnit 3 concepts, so I'll just keep them here for completeness: * @Test - run this...
5 Feb 2, 2010
9:13 pm

David Saff
dsaff
Send Email

Just to see how things map, I attempted to do something like this: @RunWith(Theories.class) public class TrackableTestCase { @DataPoints public static Class[]...
2 Feb 2, 2010
2:21 pm

David Saff
dsaff
Send Email

Hi !, In JDK 1.4.0 Beta 2 verion, assert is a keyword. Has any one looked into this ? Is there any proposed changes for the JUnit assert method ? How will a...
17 Feb 2, 2010
1:47 pm

David Saff
dsaff
Send Email

Hey all, I am developing some tests with JUnit 4.7. It includes a bunch of standard stuff that I refactored out into rules and runners and 2 base test...
6 Feb 2, 2010
1:47 pm

David Saff
dsaff
Send Email

Hi, Please see if http://www.dzone.com/links/making_your_manual_mocks_resistant_to_interface_c.html is useful (for those who makes mocks by hand)....
2 Feb 2, 2010
1:45 pm

David Saff
dsaff
Send Email

I've got a challenge that I'm not sure how to approach with JUnit 4. I've sort of hacked something similar in JUnit3, but there were some inelegant things...
12 Feb 1, 2010
6:48 pm

David Saff
dsaff
Send Email

After over 10 years of using JUnit, it has only just struck me that test methods must return void, but why? I've just come across an example where a particular...
8 Jan 27, 2010
8:54 am

dmcg123
Send Email

I've done a search on this forum about this issue and I followed the trail to github.com - issues 24 and 44. It looks like this is still awaiting an...
2 Jan 25, 2010
1:05 pm

David Saff
dsaff
Send Email

I am new to java and junit - 3 weeks. I have created an XML message validation utility using NetBeans6.7. However, I now want to package this so that users...
5 Jan 25, 2010
12:36 am

lovejunithate
Send Email

  Hi, I am trying to use the new experimental Categories Feature. Unfortunately it doesn't seem to be compatible with Parameterized Tests. I run the following...
5 Jan 21, 2010
9:33 pm

David Saff
dsaff
Send Email

I've discovered that my ClassLoaderSuite that loads each test class in its own ClassLoader also needs to set the thread's context class loader before running...
2 Jan 21, 2010
2:25 pm

David Saff
dsaff
Send Email

Hi, I have submitted this issue in the past (http://github.com/KentBeck/junit/issues#issue/41) but now it has become more relevant (and perhaps a more...
3 Jan 20, 2010
6:18 pm

Kent Beck
kentlbeck
Send Email

I created a Suite that allows me to run tests in a separate class loader. I use it like this: @RunWith(ClassLoaderSuite.class) @SuiteClasses({ MyTest1.class,...
12 Jan 20, 2010
5:16 pm

Bill Shannon
bs00011
Send Email

I'm excited about the new Categories feature. I have one question though that I haven't been able to work out: Must all of the specific tests be enumerated...
2 Jan 20, 2010
2:01 pm

David Saff
dsaff
Send Email

All, There are many things I love about github, but in the past, I have found it someone bewildering to keep up with the various ways that maintenance work can...
1 Jan 19, 2010
4:26 pm

David Saff
dsaff
Send Email

Hi All - I have a theory enabled test case, with few data points. When my theory method is executed with by the Theories runner, for few data points my theory...
2 Jan 19, 2010
2:31 pm

David Saff
dsaff
Send Email

I've inherited a project using a mix of JUnit 3.8.1 and 4.4. The modules written for a Java 1.4 deployment is tested with 3.8.1, the modules that needs a 1.5...
4 Jan 14, 2010
11:23 pm

Peter Niederwieser
pniederw
Send Email

In my code, I would need to do something like if (CodeISNotRunningInJUnit()) { //do some operations that must not be executed if tests are running } reason is...
3 Jan 14, 2010
10:09 pm

yme0987654321
Send Email

I am trying to create a per-class aggregation of the output from the junitcore run-listener, as is done by default in for instance maven surefire-plugin. I...
2 Jan 13, 2010
3:55 pm

David Saff
dsaff
Send Email

I have a scenario to test where in I need to make sure that tests are executed in particular order... How can I achieve this? Are the test cases added with...
38 Jan 9, 2010
3:28 pm

David Saff
dsaff
Send Email

I'm trying to test some behavior using Hibernate/Spring transactional support, but I'm running into a particular snag. By default, the transaction manager is...
4 Jan 4, 2010
10:54 pm

Loritsch, Berin C.
bloritsch
Send Email

Hello: I'm trying to download junit code using SVN. I only get a empty folder whithout any data and a message saying that revision 0 is downloaded. I'm using...
5 Dec 28, 2009
1:46 am

Toni Ferrer
tferrerp
Send Email

I have an abstract base class that defines a static @BeforeClass setUp method. When this class is extended, the static setUp method is not called. The javadoc...
7 Dec 23, 2009
4:46 pm

David Saff
dsaff
Send Email

Hi everyone, 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,...
23 Dec 20, 2009
4:07 pm

Kent Beck
kentlbeck
Send Email

I have an Ant build script that uses the "junit" task. It would be convenient if I could send "parameters&quot; to certain unit test classes, from values...
2 Dec 18, 2009
6:46 pm

David Saff
dsaff
Send Email

Hello everyone, we are undertaking a study on how developers contribute to both open and closed source software projects. Please help this research by taking...
1 Dec 17, 2009
10:17 am

Dirk Riehle
dirkriehle
Send Email

Hi there, I have a test suite defined as follows: @RunWith(MainTestSuite.class)@SuiteClasses({ ATest.class, BTest.class, CTest.class})public final class...
2 Dec 16, 2009
2:48 pm

Georg
le_garcon_en...
Send Email

Hi. I have been trying to use TestNG for a while, but found the transition a bit too hard :-) Categories in junit is looking promising, but there is two things...
9 Dec 16, 2009
12:47 pm

BÃ¥rd Lind
bard.lind@...
Send Email
  Newest  |  < Newer  |  Older >  |  Oldest
Add to My Yahoo!      XML What's This?

Copyright © 2010 Yahoo! Inc. All rights reserved.
Privacy Policy - Terms of Service - Guidelines NEW - Help