Search the web
Sign In
New User? Sign Up
junit · JUnit, the Java unit testing framework written by Kent Beck and Erich Gamma.
? 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.

Best of Y! Groups

   Check them out and nominate your group.
Having problems with message search? Fill out this form to ensure your group is one of the first to be migrated to the new message search system.

Messages

  Messages Help
Advanced
Messages 21466 - 21495 of 22044   Oldest  |  < Older  |  Newer >  |  Newest
Messages: Simplify | Expand   (Group by Topic) Author Sort by Date ^
21466
... No he isn't. Neither am I. He is testing the behavior of an individual module, usually a method, but sometimes a class. ... When I give my tests unusual...
J. B. Rainsberger
nails762
Offline Send Email
Apr 1, 2009
11:00 am
21467
... I almost always find that changing my class design so that I can test those "internal workings" through the "normal" API leads to an improved design. ...
Ilja Preuß
ipreussde
Offline Send Email
Apr 1, 2009
11:09 am
21468
As per the other replies I would suggest that you want to "mirror" your source directories with test directories. That is, don't mix production code and test...
Alistair McKinnell
a_r_mckinnell
Offline Send Email
Apr 1, 2009
2:04 pm
21469
I don't really know enough about your exact situation to be sure, but you might find this tool to be useful: ClasspathSuite ...
Alistair McKinnell
a_r_mckinnell
Offline Send Email
Apr 1, 2009
2:05 pm
21470
Hi – I wanted to automatically sweep tests into suites as part of my continuous builds, so I derived a runner from Suite which finds all test classes in a...
stujpa
Offline Send Email
Apr 1, 2009
10:18 pm
21471
It may be that ant is ignoring getDescription for the parent class. Have you tried Johannes Link's cpsuite? David Saff...
David Saff
dsaff
Offline Send Email
Apr 2, 2009
1:28 pm
21472
... If you annotate OrderDaoTestCase with @RunWith(JUnit4.class), does everything work? David Saff ... As you've gathered, we've been relying on Google and the...
David Saff
dsaff
Offline Send Email
Apr 2, 2009
2:15 pm
21473
Hi Junit, I set up a Facebook profile where I can post my pictures, videos and events and I want to add you as a friend so you can see it. First, you need to...
John Van V.
john_van_v
Offline Send Email
Apr 4, 2009
8:24 pm
21474
I tried the steps required for Installation Below are the installation steps for installing JUnit: 1.unzip the junit4.6.zip file 2.add junit-4.6.jar to the...
sadia_in2006
Offline Send Email
Apr 6, 2009
2:03 pm
21475
Sorry to all--that was supposed to be to author only. David Saff...
David Saff
dsaff
Offline Send Email
Apr 6, 2009
2:03 pm
21476
John, Was this a mistake? David Saff...
David Saff
dsaff
Offline Send Email
Apr 6, 2009
2:04 pm
21477
Sadia, Where did you get a 4.6 zip? 4.5 is the most recent official release. Thanks, David Saff...
David Saff
dsaff
Offline Send Email
Apr 6, 2009
2:07 pm
21478
Ya It is Junit4.5 I could get it installed and tested on eclipse but not on command prompt.It always says classdefnotfound error..even though I set the...
sadia tahseen
sadia_in2006
Offline Send Email
Apr 6, 2009
4:29 pm
21479
Hi, I'm using the latest version of JUnit with Java 1.5, WebLogic 9.2.2. I have a couple of methods in my TestCase class ... public void...
dave.alvarado@...
laredotornado
Offline Send Email
Apr 6, 2009
4:30 pm
21480
The usage of static blocks leads to software that is very untestable… I would argue that a static block is much like calling a static method in a...
Forsberg, Mike
mike.forsber...
Offline Send Email
Apr 6, 2009
11:35 pm
21481
JUnit 4.6 release candidate 1 is available. Please pound on it for a week, and let us know if there's any regressions Release notes:...
David Saff
dsaff
Offline Send Email
Apr 7, 2009
3:18 am
21482
Can you recreate your exact steps? Do you have the string INSTALL_DIR in your path? David Saff...
David Saff
dsaff
Offline Send Email
Apr 7, 2009
4:24 am
21483
Sadia: For a jar file, you need to put the whole path, including the jar file itself, into your classpath, not just the directory that the jar file is in. ...
David Rush
ky7dr
Offline Send Email
Apr 7, 2009
7:51 am
21484
Would anyone know why ant (I'm using 1.7) is not recognizing JUnit4 (I'm using 4.5) tests? I'm getting "No tests found in ...". It seems to me that ant is...
Scott Glaser
rsg00usa
Online Now Send Email
Apr 7, 2009
7:55 am
21485
Sorry for the late response to all this. Can you log a feature request with what you'd like to see? Giving Parameterized more love is one of our goals for...
David Saff
dsaff
Offline Send Email
Apr 7, 2009
12:59 pm
21486
Sorry for the long delay in response. This is a good idea, I think. I wonder if it needs to be in the same runner as Suite, or could it be a different Runner?...
David Saff
dsaff
Offline Send Email
Apr 8, 2009
1:53 pm
21487
All, This is a test of the "with enough eyeballs, all bugs are shallow" hypothesis. I am experiencing a race condition with timeouts. Say I have a test like ...
kentb
kentlbeck
Offline Send Email
Apr 9, 2009
8:52 pm
21488
Oops, sorry about the formatting. I'm afraid you'll have to go look at the JUnit source to read it easily. Regards, Kent _____ From: junit@yahoogroups.com...
kentb
kentlbeck
Offline Send Email
Apr 9, 2009
8:57 pm
21489
Hi Kent, ... Just curious ... how many cores in your machine? cas [Non-text portions of this message have been removed]...
Charles Sharp
cas_nixster
Offline Send Email
Apr 9, 2009
8:59 pm
21490
Two. Kent _____ From: junit@yahoogroups.com [mailto:junit@yahoogroups.com] On Behalf Of Charles Sharp Sent: Thursday, April 09, 2009 1:59 PM To:...
kentb
kentlbeck
Offline Send Email
Apr 9, 2009
9:33 pm
21491
A timeout of 10ms is very small, too close to the granularity of the OS clock for me to feel comfortable. How does the behaviour change as you change the...
Nat Pryce
nat_pryce
Offline Send Email
Apr 9, 2009
9:43 pm
21492
... Note that on some JVM's the behaviour of sleep itself changes when using small timeouts. In particular a sleep of 2ms will actually do what it says on...
Mark Thornton
mark_p_thornton
Offline Send Email
Apr 9, 2009
11:25 pm
21493
I'm assuming that the InterruptedException is caused by service.shutdownNow(), which, according to javadoc, "typical implementations will cancel via...
Ilja Preuß
ipreussde
Offline Send Email
Apr 10, 2009
9:37 am
21494
Why do you need this first : service.awaitTermination(fTimeout, TimeUnit.MILLISECONDS); Maybe just : result.get(0, TimeUnit.MILLISECONDS); with a shutdownNow...
Gilles Scokart
gscokart
Offline Send Email
Apr 11, 2009
5:58 pm
21495
Just wondering if the junitext project is still active. I'd like to contribute to it, but the mailing list and web site looks stale. I'd also like to move the...
Mike Forsberg
bigmike_f
Offline Send Email
Apr 12, 2009
12:19 pm
Messages 21466 - 21495 of 22044   Oldest  |  < Older  |  Newer >  |  Newest
Advanced
Add to My Yahoo!      XML What's This?

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