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...
Show off your group to the world. Share a photo of your group with us.

Best of Y! Groups

   Check them out and nominate your group.

Messages

  Messages Help
Advanced
Messages 27598 - 27627 of 28238   Oldest  |  < Older  |  Newer >  |  Newest
Messages: Simplify | Expand   (Group by Topic) Author Sort by Date ^
27598
... The main constraints I see is whether you're testing before you write the code (TDD) or after, and whether you can change the code you're testing. Assuming...
Nat Pryce
nat_pryce
Offline Send Email
Feb 1, 2008
8:38 am
27599
... the ... and ... So I think I get your position now. You focus on testing behavior. Where this gets complex, because information is currently stored but not...
Colin Jack
colin.jack
Offline Send Email
Feb 1, 2008
9:53 am
27600
A friend recently asked me this for advice on "How to..." He has a test fixture say TestClassA. It has n test methods, etc.. Now this ClassA can work with lets...
Gishu Pillai
gishu_pillai
Offline Send Email
Feb 1, 2008
10:09 am
27601
Thanks guys, great advice as always. Kevin I agree with the (thin UI + tested-to-death model) approach, however looking at the current implementation of this...
Gishu Pillai
gishu_pillai
Offline Send Email
Feb 1, 2008
10:16 am
27602
... No. I *start* with an automated end-to-end test of the desired *system* behaviour that interacts with the boundaries of the system only (client GUIs,...
Nat Pryce
nat_pryce
Offline Send Email
Feb 1, 2008
10:49 am
27603
Hi Gishu, I think Kelly A experimented with something like this, and it may even be uploaded to the group file section. Otherwise, this sounds like a case for...
Kim Gräsman
kimgrasman
Offline Send Email
Feb 1, 2008
11:04 am
27604
I'm getting too old for this at 27. <sheepish> OOPs for gods sake. Pull up the common stuff, drive down the specialities. Thanks Kim, this should work.. --...
Gishu Pillai
gishu_pillai
Offline Send Email
Feb 1, 2008
11:15 am
27605
I ran across this little self contained example code. It took me about 40 minutes to extract out dependencies and come up with my own domain objects. I was...
Joseph Gutierrez
gutzofter
Offline Send Email
Feb 1, 2008
5:34 pm
27606
In most cases these were handrolled tools, so I just used things like string differences for HTML rendering, and compared byte-for-byte within the image files...
Ben Goodspeed
ben.goodspeed
Offline Send Email
Feb 1, 2008
5:53 pm
27607
Agreed. I would also throw in at least one exception test early since it can flush out design issues that won't come up with the happy path code. ... Steve...
Steve Freeman
smg_freeman
Offline Send Email
Feb 1, 2008
6:25 pm
27608
... See my IterativeTest Extension Addin at: http://www.nunit.org/index.php?p=addins Let me know if that works for you... If you have four fixed data sources,...
Kelly Anderson
kellycoinguy
Offline Send Email
Feb 1, 2008
7:06 pm
27609
... <snip> ... Perhaps the term "code without regression tests" is a bit easier, and more accurate, than co-opting an existing, well understood term? Many ...
Scott Ambler
scottwambler
Offline Send Email
Feb 1, 2008
9:44 pm
27610
... Scott, I remember thinking that Micheal was a little "cute" in his redefinition of "legacy code", but it sure is a lot less to say than "code without...
Kelly Anderson
kellycoinguy
Offline Send Email
Feb 1, 2008
10:22 pm
27611
... users ... having a ... Could be. In this case the new definition has already been widely seen and, it seems (since there hasn't been a massive outcry), ...
michaelgburton
Offline Send Email
Feb 1, 2008
10:56 pm
27612
... My impression from the rest of the book is that he accepts but doesn't embrace the notion of automated tests in other contexts than TDD. Legacy code (in...
michaelgburton
Offline Send Email
Feb 1, 2008
11:10 pm
27613
... Michael clearly defined what he meant by the term *in the context of his book* and, as far as I understood the book, didn't imply a meaning to the term in...
Nat Pryce
nat_pryce
Offline Send Email
Feb 2, 2008
12:44 am
27614
... Nat, I think this is the most cogent thing said on this topic yet. "Life is pain, Highness. Anyone who says differently is selling something." -Westley -...
Kelly Anderson
kellycoinguy
Offline Send Email
Feb 2, 2008
1:23 am
27615
Hi Nat, Steve and Colin, This has been a most informative exchange. Nat and Steve: Do/Will you discuss this in your book? Cheers, Rick ... [Non-text portions...
Rick Mugridge
rickmugridge
Offline Send Email
Feb 2, 2008
2:07 am
27616
... Hmmm.. What I would like is a link to a page where I can see it in action before I download the NUnit addin. ... I've seen RowTest before and I know for a...
Gishu Pillai
gishu_pillai
Offline Send Email
Feb 2, 2008
7:15 am
27617
... Have you considered posting your argument onto a COBOL list (or similar) and see what they have to say? I suspect that you'll discover that it's not a...
Scott Ambler
scottwambler
Offline Send Email
Feb 2, 2008
12:35 pm
27618
... Agreed. Perhaps "testless code" or "test-poor code"? - Scott...
Scott Ambler
scottwambler
Offline Send Email
Feb 2, 2008
12:36 pm
27619
Please remember that Michael was writing a book, "Working Effectively with Legacy Code". Given the book title, it's then incumbent on an author to define what...
John Roth
jhrothjr
Offline Send Email
Feb 2, 2008
1:00 pm
27620
Hi, Scott, ... For my money, in the Agile community, Michael Feathers has successfully defined "legacy". As John notes, it was his responsibility to do so,...
Carl Manaster
cmanaster
Offline Send Email
Feb 2, 2008
4:53 pm
27621
Not directly, but this is how we work and we're including a long worked example. S [sitting next to Nat] ... Steve Freeman http://www.mockobjects.com Winner of...
Steve Freeman
smg_freeman
Offline Send Email
Feb 2, 2008
5:46 pm
27622
Why Feather's definition works: Legacy means "that which is left behind by others who are now gone". If we substitute others="doc-centric processes" then...
Alan Baljeu
alanbaljeu
Offline Send Email
Feb 2, 2008
6:06 pm
27623
... Shouldn't this be the goal of *every* software project? --Nat...
Nat Pryce
nat_pryce
Offline Send Email
Feb 2, 2008
7:39 pm
27624
... He introduces the usage as part of his practice, not as part of the book....
michaelgburton
Offline Send Email
Feb 2, 2008
10:15 pm
27625
... Then the rest of my post (which you neglected to quote) definitely applies! --Nat...
Nat Pryce
nat_pryce
Offline Send Email
Feb 2, 2008
10:23 pm
27626
Look forward to it, definitely a very interesting topic....
Colin Jack
colin.jack
Offline Send Email
Feb 2, 2008
11:15 pm
27627
... If that gets complex, I refactor the code to make it simpler to ... Sorry for taking to long to fully get it, its very different to the way we work which...
Colin Jack
colin.jack
Offline Send Email
Feb 2, 2008
11:17 pm
Messages 27598 - 27627 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