Click here to Skip to main content
15,905,238 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.

 
AnswerRe: Unit Testing... yay or nay? Pin
Nelek20-Apr-24 7:59
protectorNelek20-Apr-24 7:59 
GeneralRe: Unit Testing... yay or nay? Pin
Jeremy Falcon20-Apr-24 8:17
professionalJeremy Falcon20-Apr-24 8:17 
GeneralRe: Unit Testing... yay or nay? Pin
Nelek20-Apr-24 10:13
protectorNelek20-Apr-24 10:13 
GeneralRe: Unit Testing... yay or nay? Pin
Jeremy Falcon20-Apr-24 10:38
professionalJeremy Falcon20-Apr-24 10:38 
GeneralRe: Unit Testing... yay or nay? Pin
Nelek22-Apr-24 0:17
protectorNelek22-Apr-24 0:17 
GeneralRe: Unit Testing... yay or nay? Pin
Jeremy Falcon22-Apr-24 4:27
professionalJeremy Falcon22-Apr-24 4:27 
GeneralRe: Unit Testing... yay or nay? Pin
Nelek22-Apr-24 8:19
protectorNelek22-Apr-24 8:19 
GeneralRe: Unit Testing... yay or nay? Pin
haughtonomous21-Apr-24 23:02
haughtonomous21-Apr-24 23:02 
Unit tests come into their own when part of the build process. Write some code, check it into source control, the test suite is launched and a short time later when the suite of tests has completed you see what you've just broken, and fix it plus adding a new test to ensure that doesn't happen again. Trust me if your application/library/whatever is non-trivial, it saves a huge amount of time and much annoyance and embarrassment when a new release bounces back.
It helps if you think of the tests as part of the coding work, written as the coding progresses, not a dispensible add on afterwards. In fact, sometimes it was the writing of a test that helped me realise I had made a mistake in the code.
In my experience it was always the less experienced, less diligent, over hasty developers who rebelled against it (not to mention the few who thought they were too clever for their work to need testing, too sexy for their shirt, in fact). And of course the poor quality of their output was reflected in their reputation in the team/business.
GeneralRe: Unit Testing... yay or nay? Pin
Nelek22-Apr-24 0:15
protectorNelek22-Apr-24 0:15 
GeneralRe: Unit Testing... yay or nay? Pin
Jeremy Falcon22-Apr-24 4:36
professionalJeremy Falcon22-Apr-24 4:36 
GeneralRe: Unit Testing... yay or nay? Pin
Nelek22-Apr-24 8:17
protectorNelek22-Apr-24 8:17 
GeneralRe: Unit Testing... yay or nay? Pin
Jeremy Falcon22-Apr-24 12:13
professionalJeremy Falcon22-Apr-24 12:13 
AnswerRe: Unit Testing... yay or nay? Pin
Greg Utas20-Apr-24 8:54
professionalGreg Utas20-Apr-24 8:54 
GeneralRe: Unit Testing... yay or nay? Pin
Jeremy Falcon20-Apr-24 9:18
professionalJeremy Falcon20-Apr-24 9:18 
GeneralRe: Unit Testing... yay or nay? Pin
Greg Utas20-Apr-24 9:25
professionalGreg Utas20-Apr-24 9:25 
GeneralRe: Unit Testing... yay or nay? Pin
Nelek20-Apr-24 10:16
protectorNelek20-Apr-24 10:16 
GeneralRe: Unit Testing... yay or nay? Pin
Jeremy Falcon20-Apr-24 10:37
professionalJeremy Falcon20-Apr-24 10:37 
GeneralRe: Unit Testing... yay or nay? Pin
Greg Utas20-Apr-24 10:41
professionalGreg Utas20-Apr-24 10:41 
GeneralRe: Unit Testing... yay or nay? Pin
Jeremy Falcon21-Apr-24 4:54
professionalJeremy Falcon21-Apr-24 4:54 
GeneralRe: Unit Testing... yay or nay? Pin
Greg Utas21-Apr-24 5:32
professionalGreg Utas21-Apr-24 5:32 
GeneralRe: Unit Testing... yay or nay? Pin
Jeremy Falcon21-Apr-24 16:24
professionalJeremy Falcon21-Apr-24 16:24 
GeneralRe: Unit Testing... yay or nay? Pin
haughtonomous21-Apr-24 23:07
haughtonomous21-Apr-24 23:07 
GeneralRe: Unit Testing... yay or nay? Pin
Jeremy Falcon22-Apr-24 4:24
professionalJeremy Falcon22-Apr-24 4:24 
GeneralRe: Unit Testing... yay or nay? Pin
Jeremy Falcon20-Apr-24 9:19
professionalJeremy Falcon20-Apr-24 9:19 
AnswerRe: Unit Testing... yay or nay? Pin
Daniel Pfeffer20-Apr-24 10:25
professionalDaniel Pfeffer20-Apr-24 10:25 

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.