... 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....
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...
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...
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...
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,...
... 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...
... @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@...
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...
... 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 ...
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...
... 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...
... 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@...
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)....
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...
... 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...
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...
... 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@...
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@...
Nov 2, 2005 3:42 pm
15333
Use XPATH. value = getXpathValue(doc, "//tr/span[id='a']/text()"); assertEquals("....", value) Kevin...
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...
... 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...
... 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 ...
... 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) ...
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...
Hey David, We are attempting to retrofit JUnit tests into a significant amount of legacy java code which was written without consideration for dependency ...
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@...
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...
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...
... 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...