Search the web
Sign In
New User? Sign Up
extremeprogramming · Extreme Programming
? Already a member? Sign in to Yahoo!

Yahoo! Groups Tips

Did you know...
Want your group to be featured on the Yahoo! Groups website? Add a group photo to Flickr.

Best of Y! Groups

   Check them out and nominate your group.

Messages

  Messages Help
Advanced
Messages 92707 - 92736 of 142356   Oldest  |  < Older  |  Newer >  |  Newest
Messages: Simplify | Expand   (Group by Topic) Author Sort by Date ^
92707
I want to focus on the point several people have made about the ability to test all the classes by using only public interfaces. I agree! If the behavior of...
Lior Fridman
friedmanlior
Offline Send Email
Jun 1, 2004
7:08 am
92708
Well I did trust them but than it broke. And if it breaks once it can break again. So I can trust them.... Lior -----Original Message----- From:...
Lior Fridman
friedmanlior
Offline Send Email
Jun 1, 2004
7:28 am
92709
... So you /did refactoring/, but didn't use (known or documented) /refactorings/ ;-) - Lasse - This message is for the designated recipient only and may...
lasse.koskela@...
lassekoskela
Offline Send Email
Jun 1, 2004
7:29 am
92710
... Well, You are right. But after I added support for user-definable compare objects, this strutcure started smelling a little bit more, so I did create the...
Gert Kello
gert_g77_kello
Offline Send Email
Jun 1, 2004
7:50 am
92711
Shamefully yes. But hey im new to this whole XP/TDD/refacturing thing It takes some time to digest ;) Lior ... Sent: Tuesday, June 01, 2004 10:29 AM To:...
Lior Fridman
friedmanlior
Offline Send Email
Jun 1, 2004
8:15 am
92712
... What is wrong with using friendship rather than yucky #defines? Can friendship be considered to be pollution? I haven't seen any reasons on this thread...
Ian Collins
masumanz
Offline Send Email
Jun 1, 2004
8:16 am
92713
... Me too. At least relatively speaking. I do non-trivial refactorings (something you can't launch from Eclipse's refactoring menu) very rarely and when I do,...
lasse.koskela@...
lassekoskela
Offline Send Email
Jun 1, 2004
8:21 am
92714
... This story sounds to me like something going wrong in the design. But I'd have to see a real example to be sure. A complicated constructor troubles me, for...
Ron Jeffries
RonaldEJeffries
Offline Send Email
Jun 1, 2004
8:21 am
92715
... If we know that A works correctly, we're not dealing with the questioner's case, which is "what if you need to test a private method". Ron Jeffries ...
Ron Jeffries
RonaldEJeffries
Offline Send Email
Jun 1, 2004
8:22 am
92716
... OK, a recent example: A class to manage a log split over a group of small files. Test one: make sure the directory containing the logs is created. Test...
Ian Collins
masumanz
Offline Send Email
Jun 1, 2004
8:29 am
92717
... An observation in passing: I usually just go one test at a time in TDD. Sometimes I'll keep a list, but often I do not. ... Observation: It might be fun to...
Ron Jeffries
RonaldEJeffries
Offline Send Email
Jun 1, 2004
8:37 am
92718
... I could imagine in this case that I might just test the private methods, perhaps using the "internal" accessibility level. However, these three actions...
Ron Jeffries
RonaldEJeffries
Offline Send Email
Jun 1, 2004
8:44 am
92719
... Yes indeed, this part was refactored out to a file manager class. Either way, the first three steps justified their own tests. Excuse my ignorance, but...
Ian Collins
masumanz
Offline Send Email
Jun 1, 2004
8:55 am
92720
Thanks for the responses, Ron, Michael and Phlip. Let me try to summarize your points (and my replies) below. 1. Ron and Michael mention high-level or granular...
Alistair A. Israel
aisrael
Offline Send Email
Jun 1, 2004
11:21 am
92721
... Probably not. On the other hand, you could create a mock A and use *that* as part of the B tests. -- Edmund Schweppe -- schweppe@... --...
Edmund Schweppe
schweppe@...
Send Email
Jun 1, 2004
11:33 am
92722
Hello Lior, Tuesday, June 1, 2004, 3:03:58 AM, you wrote: LF> I want to focus on the point several people have made about the ability LF> to test all the...
Michael Feathers
mfeathers256
Offline Send Email
Jun 1, 2004
11:43 am
92723
... If the change is good, and the ubiquitous language changes to match the good change, then the ubiquitous language and the metaphor once again will be...
Edmund Schweppe
schweppe@...
Send Email
Jun 1, 2004
11:47 am
92724
... Its a holiday, so I'm not colocated with my library, but I seem to recall Kent Beck addresses this very issue in Test-Driven Design. Probably also...
Douglas Philips
dgou@...
Send Email
Jun 1, 2004
11:52 am
92725
... Yes, working with legacy is different. There it's largely "do what you can". Dave...
Dave Astels
astelsd
Online Now Send Email
Jun 1, 2004
11:52 am
92726
... Come to the dark side Mike (i.e. put down that sissy-man Bud and hoist a Guiness) ... I agree fully. ... To me, pollution means introducing a dependancy,...
Dave Astels
astelsd
Online Now Send Email
Jun 1, 2004
12:13 pm
92727
... .NET accessibility level allowing members of the same "namespace" access to the element, but no one from outside. A bit stronger than "friend" in that you...
Ron Jeffries
RonaldEJeffries
Offline Send Email
Jun 1, 2004
12:19 pm
92728
I have set dhui_2002 to "No Email" because I was getting bounces referring to spam, from what appears to be its base account, on all my postings to the list. I...
Ron Jeffries
RonaldEJeffries
Offline Send Email
Jun 1, 2004
12:34 pm
92729
... The Java equivalent is the "package" level of protection -- indicated by *not* putting 'public', 'private' or 'protected' in front of your method (or...
Jeff Grigg
jeffgrigg63132
Offline Send Email
Jun 1, 2004
2:09 pm
92730
... Pure TDD tends to produce well-rounded classes that serve both their tests and their production clients. One never encounters a reason to break...
Phlip
phlipcpp
Offline Send Email
Jun 1, 2004
2:20 pm
92731
... And NUnit, for .NET directly supports tests that expect exceptions, making it even easier....
Jeff Grigg
jeffgrigg63132
Offline Send Email
Jun 1, 2004
3:05 pm
92732
... I would hesitate to add a getter solely for a test. I'd prefer to add a query method to check for side-effects. And by pollution of code for testing.. I'm...
Dave Astels
astelsd
Online Now Send Email
Jun 1, 2004
3:16 pm
92733
... Your mention of the software logging technique reminded me of something I've been thinking about lately - I used a group of testing techniques for embedded...
Nancy Van Schooenderw...
vanschoo@...
Send Email
Jun 1, 2004
6:19 pm
92734
... From: "Jeff Grigg" <jeffgrigg@...> To: <extremeprogramming@yahoogroups.com> Sent: Tuesday, June 01, 2004 9:05 AM Subject: Re: VS: [XP] Test Driven...
Chip Whitmer
chipwhitmer
Offline Send Email
Jun 1, 2004
6:32 pm
92735
... Maybe it's a bad habit, but I sometimes test assertion error exceptions into the code, so a 'fail()' method in the 'try' block will, in some cases, get...
Jeff Grigg
jeffgrigg63132
Offline Send Email
Jun 1, 2004
7:14 pm
92736
... From: "Jeff Grigg" <jeffgrigg@...> To: <extremeprogramming@yahoogroups.com> Sent: Tuesday, June 01, 2004 1:12 PM Subject: Re: VS: [XP] Test Driven...
Chip Whitmer
chipwhitmer
Offline Send Email
Jun 1, 2004
7:46 pm
Messages 92707 - 92736 of 142356   Oldest  |  < Older  |  Newer >  |  Newest
Advanced
Add to My Yahoo!      XML What's This?

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