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 5652 - 5681 of 28238   Oldest  |  < Older  |  Newer >  |  Newest
Messages: Simplify | Expand   (Group by Topic) Author Sort by Date ^
5652
... I added the test "push a, push b, pop, pop expect a" since I missed it. /Now/ your implementation is broken. Sorry you typed out all that code. :) -- J. B....
J. B. Rainsberger
nails762
Offline Send Email
Nov 3, 2003
9:07 pm
5653
... Of course it is not a valid implementation. I suppose your point will be that therefore JB needs at least one more test. This is not necessarily true. The...
Ron Jeffries
ronaldejeffries
Offline Send Email
Nov 3, 2003
9:07 pm
5654
... Agreed. If a test tests nothing useful, ditch it. ... Agreed. -- J. B. Rainsberger, Diaspar Software Services http://www.diasparsoftware.com :: +1 416...
J. B. Rainsberger
nails762
Offline Send Email
Nov 3, 2003
9:07 pm
5655
All, I think the interesting thing here is that there seems to be a schism in the view of what TDD is. From J.B.'s point he's attempting to exercise the one...
Williams, Chris
cawilliamsxerox
Offline Send Email
Nov 3, 2003
9:07 pm
5656
... Therefore, the test should provide a fixture such that B/C/D all return correct values for a given input. Then I only have to assert that A returns the...
Joel Shellman
joelshellman
Offline Send Email
Nov 3, 2003
9:07 pm
5657
... Only when using less than two elements. ;-) However the question above misses an important point: Passing the tests isn't sufficient to conclude the code...
Sven Gorts
Gorowitch
Offline Send Email
Nov 3, 2003
9:07 pm
5658
... And so how do you TDD those entry points? -joel __________________________________ Do you Yahoo!? Exclusive Video Premiere - Britney Spears ...
Joel Shellman
joelshellman
Offline Send Email
Nov 3, 2003
9:07 pm
5659
... How would you assemble them together incorrectly? Bill de hÓra...
Bill de hÓra
bdehora
Offline Send Email
Nov 3, 2003
9:07 pm
5660
This type of discussion is where it's really hard for me to understand because I still think of the term "mock" used the way its used here to mean any ...
Joel Shellman
joelshellman
Offline Send Email
Nov 3, 2003
9:07 pm
5661
... So it's a middleman. Should that be refactored out? How should it be done? Many of the hubs that I'm running into could be termed middlemen or procedural....
joelshellman
Offline Send Email
Nov 3, 2003
9:07 pm
5662
Maybe I'm the only one who makes stupid mistakes while refactoring? I've run into the sort of error described from time to time... and have been glad to have...
John Platte
ryanplatte
Offline Send Email
Nov 3, 2003
9:07 pm
5663
I am wondering how I should go about testing some common patterns used within code. The basic pattern is that some interfaces define functionality, not just...
Mark H. Colburn
markcol0001
Offline Send Email
Nov 3, 2003
9:07 pm
5664
... Some years back I had a discussion with a rep from a chip vendor about the frequency at which background radiation flipped bits in DRAM. The figures he...
Jim Dixon
jddbristol
Offline Send Email
Nov 3, 2003
9:07 pm
5665
... SS> I recently said on the Junit list: SS> http://www.c2.com/cgi/wiki?MethodsShouldBePublic Ward Cunningham makes an interesting comment at the beginning...
Michael Feathers
mfeathers256
Offline Send Email
Nov 3, 2003
9:07 pm
5666
Nathan, I would recommend the following article on this topic. http://www.dallaway.com/acad/dbunit.html It advocates the use of multiple databases. I have...
Cogley, Jonathan
thycotic
Offline Send Email
Nov 3, 2003
9:07 pm
5667
... This seems like a perfect fit for an Eclipse plugin (or other IDE). With the new 3.0 Eclipse, lots of stuff happens in the background (CVS sync, building,...
Chad Woolley
thewoolleyman
Offline Send Email
Nov 3, 2003
9:07 pm
5668
... Recall that I have submitted a broken implementation that will pass that test. However, the question of which tests we need is only a bit germane, since ...
Ron Jeffries
ronaldejeffries
Offline Send Email
Nov 3, 2003
10:14 pm
5669
... The "schism" is natural. Some new code arises from first-principles, using only primitive libraries like <iostream> below it. So dozens of narrow tests...
Phlip
phlipcpp
Offline Send Email
Nov 3, 2003
10:14 pm
5670
... Good idea, if one can get through the ranting. But a question: what should we do about all the people who are using TDD now and finding that it improves...
Ron Jeffries
ronaldejeffries
Offline Send Email
Nov 3, 2003
10:14 pm
5671
... From: Williams, Chris To: 'testdrivendevelopment@yahoogroups.com' Sent: Wednesday, October 29, 2003 9:27 AM Subject: RE: [TDD] One assertion per Test ? ...
yahoogroups@...
jhrothjr
Offline Send Email
Nov 4, 2003
2:05 am
5672
... Unfortunately, one is not encouraged to revive that thread in this forum, as it makes people whine. I shall begin to use the term Test Objects to mean all...
J. B. Rainsberger
nails762
Offline Send Email
Nov 4, 2003
2:05 am
5673
... Difficult to say for sure, without actualy code. But if I remember the reasoning, my point was that you TDD would drive you to have a test that tests the...
David Corbin
david_corbin
Online Now Send Email
Nov 4, 2003
2:05 am
5674
... Hi, I posted a thread about this a few weeks back and wasn't really satisfied with the replies. I don't like the idea of using a test db right away but...
Amit
AmitIG
Offline Send Email
Nov 4, 2003
2:05 am
5675
Ron, I'm having trouble understanding this line of thinking. When someone starts refactoring the stack implementation, how are they going to know that the ...
Jim Ivey
jamescivey
Offline Send Email
Nov 4, 2003
2:05 am
5676
... Let A be a class that depends on interfaces in set B. Suppose its constructor requires as parameters implementations of the interfaces in B. For each...
J. B. Rainsberger
nails762
Offline Send Email
Nov 4, 2003
7:47 pm
5677
Hi, I am just writing to find out what peoples thoughts are on testing similar activities in different layers? For example, my current system i am working on...
Nick Robinson
nicholasrobi...
Offline Send Email
Nov 4, 2003
7:47 pm
5678
... Boo hoo, J.B. If you really think anyone will gain a deeper understanding of TDD from another round of Mock-Fake-Stub (like Rock-Paper-Scissors, but...
Marc Hamann
gmhamann
Offline Send Email
Nov 4, 2003
7:48 pm
5679
Hello Jim, Tuesday, November 4, 2003, 1:44:14 AM, you wrote: JI> Ron, JI> I'm having trouble understanding this line of thinking. When someone starts JI>...
Kerim Borchaev
kerimborchaev
Offline Send Email
Nov 4, 2003
7:48 pm
5680
The next Phoenix eXtreme Programming User Group meeting will be held on Monday, November 17th. This is an informal gathering of Phoenix area developers and...
Steven Gordon
sfman2k
Offline Send Email
Nov 4, 2003
7:48 pm
5681
... Actually, I don't recall, and wasn't able to find it, either. Lost in the mail? -- J. B. Rainsberger, Diaspar Software Services ...
J. B. Rainsberger
nails762
Offline Send Email
Nov 4, 2003
7:48 pm
Messages 5652 - 5681 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