Search the web
Sign In
New User? Sign Up
testdrivendevelopment · Test-driven Development
? Already a member? Sign in to Yahoo!

Yahoo! Groups Tips

Did you know...
Real people. Real stories. See how Yahoo! Groups impacts members worldwide.

Best of Y! Groups

   Check them out and nominate your group.

Messages

  Messages Help
Advanced
Messages 1568 - 1597 of 28238   Oldest  |  < Older  |  Newer >  |  Newest
Messages: Simplify | Expand   (Group by Topic) Author Sort by Date ^
1568
... I'd like to think a bit about what Ron said, and why it might be true that working TDD on paper is different than working TDD with a real computer, real...
Kent Beck
kentlbeck
Offline Send Email
Jul 1, 2002
8:45 pm
1569
... Yes. My basic practice is only to refactor when the code tells me to refactor, not when I think I know what it's about to tell me. I do break that rule...
Ron Jeffries
ronaldejeffries
Offline Send Email
Jul 1, 2002
8:52 pm
1570
I will be out of the office starting 07/01/2002 and will not return until 07/06/2002. I will respond to your message when I return....
shasler@...
stevejamesha...
Offline Send Email
Jul 2, 2002
1:00 am
1571
... book, ... Speculative refactoring has come up before (I think we should call it Dark Room Refactoring after Kent's imagery above), and I remember thinking...
wecaputo@...
logosity
Offline Send Email
Jul 2, 2002
2:42 am
1572
This is what I do (I think). From the perspective of thinking about a new test case, I'm (finally) prepared to listen to something it's been telling me all...
Kent Beck
kentlbeck
Offline Send Email
Jul 2, 2002
6:04 am
1573
... If the code really already wants Extract Class, it's not speculative and you don't have to wash your hands. Imagine if I was pairing with you one day, we...
Ron Jeffries
ronaldejeffries
Offline Send Email
Jul 2, 2002
7:58 am
1574
... No need to feel guilty about that. The code was asking for it. What I'd consider hand-washing material would be a refactoring where after you did it, if...
Ron Jeffries
ronaldejeffries
Offline Send Email
Jul 2, 2002
8:05 am
1575
First of all, thanks alot to Kent for writing such a book. I only leafed it through, tried some TDD and I'm already amazed by the code I wrote. Moreover, this...
p_antras
Offline Send Email
Jul 2, 2002
12:31 pm
1576
First of all, thanks alot to Kent for writing such a book. I only leafed it through, tried some TDD and I'm already amazed by the code I wrote. Moreover, this...
p_antras
Offline Send Email
Jul 2, 2002
12:32 pm
1577
... Maybe we're talking about a different "this" (went from test cases, plural, to psuedocode, to code which could then have test cases run against it). I...
psrchisholm
Offline Send Email
Jul 3, 2002
1:00 am
1578
... Even when I identified the best "next" case, it was a huge leap. When I was done, by hook (test cases) or by crook (pseudocoded), the inner loop logic for...
psrchisholm
Offline Send Email
Jul 3, 2002
2:03 am
1579
For those who came in late: The program being developed (with TDD) takes several rows (each with zero or more columns) as input, and generates several 5-tuples...
Paul S R Chisholm
psrchisholm
Offline Send Email
Jul 3, 2002
3:21 am
1580
... I'm confused. A recent note of yours made me think you were /not/ doing these with TDD, that you were instead writing out lots of tests and doing paper...
Ron Jeffries
ronaldejeffries
Offline Send Email
Jul 3, 2002
10:21 am
1581
... I did the first 7 tests with TDD: test/Red/Green. (Here, "test" means "introduct a new test case.") Tests 8, 9, and 10 introduced combining identical rows...
psrchisholm
Offline Send Email
Jul 3, 2002
1:21 pm
1582
... What am I missing? It seems you wrote that you were doing this all on paper. Did you start doing it on computer instead, or were you not doing it on paper?...
Ron Jeffries
ronaldejeffries
Offline Send Email
Jul 3, 2002
3:07 pm
1583
I haven't tried to implement RLE using test-first. I was given code for RLE8 and wrote a few tests to validate that it works. The code I was given was pretty...
C. Keith Ray
attkeithray
Offline Send Email
Jul 3, 2002
4:20 pm
1584
I've been working with TDD for a few months now, and in general I like what I see. I've run into a few difficulties relating to my work environment, though,...
Jason Elbaum
jelbaum
Offline Send Email
Jul 3, 2002
4:31 pm
1585
... Does CVS have a branching facility? In Perforce, we "integrate" the file to a new place, which creates a copy, and then remove the old one. The history...
schroeder@...
benschroeder2
Offline Send Email
Jul 3, 2002
4:47 pm
1586
As an alternative to your suggestion to work through the tests in the order you did, let me suggest that folks try working through the tests in different...
Kent Beck
kentlbeck
Offline Send Email
Jul 3, 2002
5:29 pm
1587
... I think "remove" doesn't do a permanent remove in CVS. You can always get the old file back if you need it. ... C. Keith Ray ...
C. Keith Ray
attkeithray
Offline Send Email
Jul 3, 2002
5:32 pm
1588
I have been doing TDD for about a year and a half now at work and I have seen great improvements in my abilities to code. But recently I undertook a project...
Brian C. Robinson
bcrtrw
Offline Send Email
Jul 3, 2002
6:26 pm
1589
What if you had a little object representing an attribute in the file? Each Attribute would have a file offset and methods to read and write. There would be...
Kent Beck
kentlbeck
Offline Send Email
Jul 3, 2002
6:59 pm
1590
... You're lucky this isn't a multi-player game. Most of those have been forced to do trivial encryption of the player file in order to keep people from...
dossy
Online Now Send Email
Jul 3, 2002
7:47 pm
1591
... Why not try just that, and look for a different solution only when you find it to be a problem? I agree it _feels_ wrong, but we do that and haven't...
Peter Hansen
plhansen2000
Offline Send Email
Jul 3, 2002
9:42 pm
1592
... Yep. * If you have admin access to the repository, you /can/ rename files and keep version history; Google for Karl Fogel's CVS book and go to the ...
Bill de hÓra
bdehora
Offline Send Email
Jul 3, 2002
10:54 pm
1593
... [munch] ... An alternative is to gut the original file - take the code elsewhere and just leave the CVS $Log$ comments. Cheers, Simon...
Simon Crase
simon_crase
Offline Send Email
Jul 3, 2002
10:55 pm
1594
... ... so, having gotten through the first seven tests with TDD, but unable to use TDD for the next two or three test, I started doing designs on paper....
psrchisholm
Offline Send Email
Jul 4, 2002
3:14 am
1595
... A couple of suggestions: o I think it's good to distinguish "checkpointing" (where you keep track of the history of your personal changes, for your own ...
psrchisholm
Offline Send Email
Jul 4, 2002
3:33 am
1596
Between the several examples I've read, and my own personal experience, it seems TDD goes better with a functional programming approach than with an imperative...
Paul S R Chisholm
psrchisholm
Offline Send Email
Jul 4, 2002
7:13 am
1597
... Separate command and query. Mock objects. The former pattern predates TDD, of course... ... A lot compared to what ? Calling linecount() on that File is...
Laurent Bossavit
morendilfoo
Offline Send Email
Jul 4, 2002
8:52 am
Messages 1568 - 1597 of 28238   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