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...
Message search is now enhanced, find messages faster. Take it for a spin.

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 17731 - 17760 of 22044   Oldest  |  < Older  |  Newer >  |  Newest
Messages: Simplify | Expand   (Group by Topic) Author Sort by Date ^
17731
Maybe you can show them the results of the JUnit unit tests (a.k.a. recursive certification). I've uploaded a report of JUnit 4.1 tests to ...
j_cumps
Offline Send Email
Sep 1, 2006
9:42 am
17732
... Let's not forget that in most J2EE settings, we don't want the physical database connection to be closed when we call "close()" on the Connection object...
Lasse Koskela
lassekoskela
Offline Send Email
Sep 1, 2006
9:58 am
17733
... 1. Excess complexity 2. No precondition, postcondition, or class invariant validation 3. Cannot add new methods to an existing interface in a later version...
Elliotte Harold
elharo@...
Send Email
Sep 1, 2006
10:06 am
17734
Hi, Please provide some info on Junit testing of web services. I am sure someone has done it. Cheers. vk....
vkv3056
Offline Send Email
Sep 1, 2006
10:31 am
17735
... Nope. Never done that. And I've already mentioned that any problems with third party database drivers _will_ show up in integration, funtional, performance...
Simon Chappell
spchappell
Offline Send Email
Sep 1, 2006
10:36 am
17736
... Generally, a few minutes using one of the major search engines will return plenty of suitable candidate packages. I just spent ten seconds typing "junit...
Simon Chappell
spchappell
Offline Send Email
Sep 1, 2006
12:41 pm
17737
Dear Moderator, In my quest for a robust testing framework, I chanced to read this excellent ...
Carol Beckley
carol.beckley@...
Send Email
Sep 1, 2006
1:24 pm
17738
Hi, Working on this myself. Here is some info that may help... http://michael01612.spaces.live.com/blog/cns!2D894EF96C8FC0!2059.entry Mike Foley...
Mike Foley
mike_foley_0...
Offline Send Email
Sep 1, 2006
1:33 pm
17739
Hi Elliotte, ... Fair points. Interfaces do add some complexity, but they also buy you flexibility and extensibility, so I'd be sure to always weigh these...
Cédric Beust 
cbeust
Offline Send Email
Sep 1, 2006
4:11 pm
17740
... No, they don't. The checking isn't as clean as it is in a language like Eiffel that makes these parts of the language, but it's absolutely possible. For...
Elliotte Harold
elharo@...
Send Email
Sep 1, 2006
5:22 pm
17741
... They make receiving a message more complex, it's true. They make sending a message much simpler. Or rather, they add more lines of code on the receiving...
Robert Martin
rmartinoma
Offline Send Email
Sep 1, 2006
10:46 pm
17742
... This path leads to madness. Every class that you'd like to extend, without modifying, will result in a hierarchy. If these classes are already in a...
Robert Martin
rmartinoma
Offline Send Email
Sep 1, 2006
10:52 pm
17743
... At best, unit tests verify that *my* code is not violating my preconditions. They do nothing about verifying that *your* code is not violating my...
Elliotte Harold
elharo@...
Send Email
Sep 1, 2006
11:00 pm
17744
... I'm not sure I believe the second part. In practice, replacing a concrete-class based solution with an interface-based solution expands the complexity for...
Elliotte Harold
elharo@...
Send Email
Sep 1, 2006
11:01 pm
17745
... Indeed it does, but the real world is madness itself. Hence the popularity of this approach, because despite the added complexity on the API developer...
Cédric Beust 
cbeust
Offline Send Email
Sep 1, 2006
11:33 pm
17746
I am also working on WebServices and need guidance on JunitTesting of WebServices. i have tried using WSDL to Java in Eclipse platform using -t arguments. Then...
Aravind Krishnan
aravindkrish...
Offline Send Email
Sep 2, 2006
10:33 am
17747
... Why do you worry about me? I'll write my own unit tests, you concentrate on yours. It is not your job to debug my code. Now, maybe you are building a...
Robert Martin
rmartinoma
Offline Send Email
Sep 3, 2006
3:08 am
17748
... public void g(IAccount2 acct2) { int aNumber = ((IAccount)acct2).getAccountNumber(); } ... Robert C. Martin (Uncle Bob) | email: unclebob@......
Robert Martin
rmartinoma
Offline Send Email
Sep 3, 2006
3:28 am
17749
... It's not. Overuse of factories is an abomination. So *IF* I thought an interface would help, I would simply prefer: Document doc =...
Robert Martin
rmartinoma
Offline Send Email
Sep 3, 2006
3:29 am
17750
... That's not what I was saying. If you use the Interface Segregation Principle, you can't pass an IAccount2 to someone expecting an IAccount. Which makes...
Cédric Beust 
cbeust
Offline Send Email
Sep 3, 2006
4:35 am
17751
... But you can't do that with an interface. At a minimum you need Document doc = Factory.newDocument(); ... In Java, if the public interface of the class...
Elliotte Harold
elharo@...
Send Email
Sep 3, 2006
10:40 am
17752
... It is my job to make sure my code works. I can't do that if the code that calls it violates my preconditions and class invariants. For detailed elaboration...
Elliotte Harold
elharo@...
Send Email
Sep 3, 2006
10:42 am
17753
... The essence of design by contact is that you advertise what you need so that you don't have to check. Bertrand Meyer was trying to come up with a set of...
Michael Feathers
mfeathers256
Offline Send Email
Sep 3, 2006
1:10 pm
17754
... That's true, but there is no automated way to find out which clients need to be recompiled that I know of. Cheers, Ilja...
Ilja Preuss
ipreussde
Offline Send Email
Sep 3, 2006
1:29 pm
17755
... I'm confused. I always thought a precondition is something that says "if you violate me, there is no guarantee what the code will do". Curious, Ilja...
Ilja Preuss
ipreussde
Offline Send Email
Sep 3, 2006
1:30 pm
17756
... In well written code, *anything* a client does gives specified results. In the event of a precondition violation that result will usually be an ...
Elliotte Harold
elharo@...
Send Email
Sep 3, 2006
6:52 pm
17757
... I think you've misunderstood Meyer. He wanted to make the checks easier to write. He didn't think they shouldn't happen. Providing correct input data is...
Elliotte Harold
elharo@...
Send Email
Sep 3, 2006
6:55 pm
17758
... Those sound like very personal definitions of both "well written" and "precondition" to me. Take care, Ilja...
Ilja Preuss
ipreussde
Offline Send Email
Sep 3, 2006
7:15 pm
17759
... No, the point of preconditions is really to make responsibility clear. People often place too much emphasis on their runtime aspect. Regardless, you can...
Michael Feathers
mfeathers256
Offline Send Email
Sep 4, 2006
12:51 am
17760
... Nope. That's pretty much counter to Design by Contact. Do you have a copy of Meyer's Object Oriented Software Construction? If you do, I can point you...
Michael Feathers
mfeathers256
Offline Send Email
Sep 4, 2006
1:46 am
Messages 17731 - 17760 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