Click here to Skip to main content
15,915,324 members

Welcome to the Lounge

   

For discussing anything related to a software developer's life but is not for programming questions. Got a programming question?

The Lounge is rated Safe For Work. If you're about to post something inappropriate for a shared office environment, then don't post it. No ads, no abuse, and no programming questions. Trolling, (political, climate, religious or whatever) will result in your account being removed.

 
GeneralRe: TDD for dummies ! Pin
ZurdoDev2-Aug-14 16:09
professionalZurdoDev2-Aug-14 16:09 
GeneralRe: TDD for dummies ! Pin
Wonde Tadesse3-Aug-14 11:26
professionalWonde Tadesse3-Aug-14 11:26 
GeneralRe: TDD for dummies ! Pin
AlexCode2-Aug-14 21:40
professionalAlexCode2-Aug-14 21:40 
GeneralRe: TDD for dummies ! Pin
Wonde Tadesse3-Aug-14 11:33
professionalWonde Tadesse3-Aug-14 11:33 
GeneralRe: TDD for dummies ! Pin
Brisingr Aerowing3-Aug-14 10:00
professionalBrisingr Aerowing3-Aug-14 10:00 
GeneralRe: TDD for dummies ! Pin
User 101325463-Aug-14 22:02
User 101325463-Aug-14 22:02 
GeneralRe: TDD for dummies ! Pin
glennPattonWork33-Aug-14 23:01
professionalglennPattonWork33-Aug-14 23:01 
RantRe: TDD for dummies ! PinPopular
User 101325464-Aug-14 0:05
User 101325464-Aug-14 0:05 
Don't get me wrong, I'm not anti-TDD but it's a means to an end, it's not the end in itself.

Too many developers get obsessed with having every possible angle covered by unit tests, in many cases the size of the unit tests become significantly larger than what they're testing.

The worst thing is when you see an awful architecture with classes with 32 dependencies - or more - being injected (yes, I have seen this, hard as it is to believe WTF | :WTF: ) into the constructor, then you see the huge amount of objects being mocked in the unit tests!?!?

TDD in itself is a good thing, but in practice I've rarely seen it used in a good way. It's not the fault of TDD, much in the same way as it's not a guns fault someone gets shot.

For every team where TDD works my experience is that there are many more teams where it doesn't because of the poor team culture and/or way it's being implemented.

modified 31-Aug-21 21:01pm.

GeneralRe: TDD for dummies ! Pin
Mel Padden4-Aug-14 1:13
Mel Padden4-Aug-14 1:13 
GeneralRe: TDD for dummies ! Pin
User 101325464-Aug-14 1:22
User 101325464-Aug-14 1:22 
GeneralRe: TDD for dummies ! Pin
Vark1114-Aug-14 7:26
Vark1114-Aug-14 7:26 
GeneralRe: TDD for dummies ! Pin
User 101325464-Aug-14 11:57
User 101325464-Aug-14 11:57 
GeneralRe: TDD for dummies ! Pin
jschell4-Aug-14 10:59
jschell4-Aug-14 10:59 
GeneralRe: TDD for dummies ! Pin
User 101325464-Aug-14 12:07
User 101325464-Aug-14 12:07 
GeneralRe: TDD for dummies ! Pin
thomas.michaud4-Aug-14 6:18
thomas.michaud4-Aug-14 6:18 
GeneralRe: TDD for dummies ! Pin
Tasadit4-Aug-14 0:31
Tasadit4-Aug-14 0:31 
GeneralRe: TDD for dummies ! Pin
User 101325464-Aug-14 1:04
User 101325464-Aug-14 1:04 
GeneralRe: TDD for dummies ! Pin
Wonde Tadesse5-Aug-14 3:07
professionalWonde Tadesse5-Aug-14 3:07 
GeneralRe: TDD for dummies ! Pin
User 101325465-Aug-14 3:39
User 101325465-Aug-14 3:39 
GeneralHad Shakespeare written the Hokey Pokey Pin
Mike Hankey2-Aug-14 6:08
mveMike Hankey2-Aug-14 6:08 
GeneralRe: Had Shakespeare written the Hokey Pokey Pin
Gary R. Wheeler2-Aug-14 12:47
Gary R. Wheeler2-Aug-14 12:47 
GeneralRe: Had Shakespeare written the Hokey Pokey Pin
  Forogar  3-Aug-14 4:22
professional  Forogar  3-Aug-14 4:22 
GeneralRe: Had Shakespeare written the Hokey Pokey Pin
Chris Quinn3-Aug-14 20:40
Chris Quinn3-Aug-14 20:40 
GeneralRe: Had Shakespeare written the Hokey Pokey Pin
User 101325464-Aug-14 2:23
User 101325464-Aug-14 2:23 
JokeDid I read that sign right? Pin
Vivi Chellappa2-Aug-14 1:17
professionalVivi Chellappa2-Aug-14 1:17 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.