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...
Show off your group to the world. Share a photo of your group with us.

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 15315 - 15344 of 22044   Oldest  |  < Older  |  Newer >  |  Newest
Messages: Simplify | Expand   (Group by Topic) Author Sort by Date ^
15315
... If you're going to use the debugger, then you don't need to write that smaller test. Agreed. I simply prefer not to use the debugger if I don't have to....
J. B. Rainsberger
nails762
Offline Send Email
Nov 1, 2005
3:07 pm
15316
I'm sorry for repeating myself but I fear that my last message (http://groups.yahoo.com/group/junit/message/15268) might have been overlooked. What do the...
mherrmann_at
Offline Send Email
Nov 1, 2005
4:00 pm
15317
hi every body how r u all ?? Im a new member in this group. Im workning in a graduation project for developing a java code coverage tool & I was wandering if...
ahmed_cs1985
Offline Send Email
Nov 1, 2005
4:42 pm
15318
Elliotte, My early experiences writing frameworks were in Smalltalk where the audience for the framework was no larger than the team. In Smalltalk, all data is...
Kent Beck
kentlbeck
Offline Send Email
Nov 1, 2005
5:00 pm
15319
We tried the error string as the third parameter (generally speaking I put optional parameters at the end of the parameter list), but we had a compile error,...
Kent Beck
kentlbeck
Offline Send Email
Nov 1, 2005
5:01 pm
15320
... I have been playing with assertThat(). I like it a lot and will continue to use it. I will continue to use it whether or not it is part of the framework. I...
Kevin Lawrence
kevinwilliam...
Offline Send Email
Nov 1, 2005
5:41 pm
15321
... @BeforeTest/@BeforeSuite is more descriptive than @Before/@BeforeClass. I prefer it. I might want to go even further and change @Before to @BeforeEachTest...
Elliotte Rusty Harold
elharo@...
Send Email
Nov 1, 2005
6:16 pm
15322
... Thank you for your reply, You're right, it is easier to type, but this doesn't compensate the lack of clarity in my opinion. Plus, you normally don't write...
mherrmann_at
Offline Send Email
Nov 1, 2005
6:45 pm
15323
... continue ... So will I, but the huge advantage of putting it into an official junit release is that it gets promoted to the public, which in turn enables ...
mherrmann_at
Offline Send Email
Nov 1, 2005
6:53 pm
15324
I'm sorry--I think I consigned your message along with a lot of other messages with the subject line a couple days ago. Good questions. ... There's an...
David Saff
dsaff
Offline Send Email
Nov 1, 2005
8:48 pm
15325
... I agree with all you say but I also agree with Kent that JUnit should be the bare minimum functionality. Overall, I come out +0. I would like to see a...
Kevin Lawrence
kevinwilliam...
Offline Send Email
Nov 1, 2005
10:42 pm
15326
... I basically agree with that. Protected methods are fine, as long as you're reasonably confident they're right and you're willing to maintain them in the...
Elliotte Rusty Harold
elharo@...
Send Email
Nov 2, 2005
3:15 pm
15327
In my case, I know exactly what the problem is. The private method relies on external resources that are not available during unit testing (i.e. Torque/DBMS)....
Mitch Christensen
mitchellch60
Offline Send Email
Nov 2, 2005
3:32 pm
15328
I am a newer to junit. I try to write a simulate elevator program with GUI. After I write my first testcase, I write 15 class make it run, inculde GUI...
isaachanstar
Offline Send Email
Nov 2, 2005
3:33 pm
15329
... You might want to take a look at the source code for GroboUtils, EMMA, and Cobertura. Those are all open source Java code coverage tools. All of the above...
Lasse Koskela
lassekoskela
Offline Send Email
Nov 2, 2005
3:33 pm
15330
I want to know how do i read a dynamic value which is enclosed within the <tr><span id ="a">......................</span></tr> How can i read the value which...
nimamallur
Online Now Send Email
Nov 2, 2005
3:34 pm
15331
... Perhaps, but I don't think so. I not only pay pretty close attention to what users are asking me. I listen to what users are asking from my competition....
Elliotte Rusty Harold
elharo@...
Send Email
Nov 2, 2005
3:41 pm
15332
... On this, I guess our experiences really do differ. I work hardly at all with Microsoft APIs, but in the Java world, the open source stuff tends to be as...
Elliotte Rusty Harold
elharo@...
Send Email
Nov 2, 2005
3:42 pm
15333
Use XPATH. value = getXpathValue(doc, "//tr/span[id='a']/text()"); assertEquals("....", value) Kevin...
Kevin Lawrence
kevinwilliam...
Offline Send Email
Nov 2, 2005
4:11 pm
15334
Hi Elliotte, All good points, and I'm in general agreement with everything you say below. Again, all I was trying to do was to fight against the dogmatic...
Cédric Beust â...
cbeust
Offline Send Email
Nov 2, 2005
4:25 pm
15335
... Interestingly, I can't say that I work with a lot of closed-source Java API's, so I can't comment on that either. However, I can say that I have seen...
Cédric Beust â...
cbeust
Offline Send Email
Nov 2, 2005
4:34 pm
15336
... Elliotte, I had promised not to post on this topic again, but I'm still genuinely curious: is there not room, in your opinion, for a third option between ...
David Saff
dsaff
Offline Send Email
Nov 2, 2005
6:41 pm
15337
Isaac, Can you write a simple sentence to describe what your elevator simulator does? That's often half the distance to a good test. David Saff...
David Saff
dsaff
Offline Send Email
Nov 2, 2005
6:51 pm
15338
... I'm intrigued and confused. Infused? Contrigued? That's it, contrigued. If I write this, how far am I from Astel's ideas? @RunWith(Behavior.class) ...
David Saff
dsaff
Offline Send Email
Nov 2, 2005
6:59 pm
15339
Mitch, You've noticed quite a discussion by proxy. I'm interested in _your_ position. Without knowing more about your domain, I can guess that depency...
David Saff
dsaff
Offline Send Email
Nov 2, 2005
7:04 pm
15340
Hey David, We are attempting to retrofit JUnit tests into a significant amount of legacy java code which was written without consideration for dependency ...
Mitch Christensen
mitchellch60
Offline Send Email
Nov 2, 2005
8:48 pm
15341
Does anyone recognize this message return by asserEquals() actual? "The object identifier does not represent a valid object." Any feedback would be appreciate....
Truong, David
david_truong@...
Send Email
Nov 2, 2005
11:19 pm
15342
... This 'Extract and Override' mechanism is a great tool for finding and then exposing the seam into which we can inject new behavior (ala Mocks/Fakes). But...
Andrew McDonagh
andy_ipaccess
Offline Send Email
Nov 2, 2005
11:25 pm
15343
David, This string does not appear in the JUnit source code. It does appear to be a Windows error message. What is the text of the call to assertEquals...
David Saff
dsaff
Offline Send Email
Nov 3, 2005
3:31 am
15344
... If you can't articulate the reason, why not wait until you can? It's not like adding the method at a later point in time will cause problems, but if your...
Elliotte Harold
elharo@...
Send Email
Nov 3, 2005
9:58 am
Messages 15315 - 15344 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