Click here to Skip to main content
15,901,373 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: Happy palindrome day Pin
honey the codewitch20-Apr-24 11:19
mvahoney the codewitch20-Apr-24 11:19 
QuestionUnit Testing... yay or nay? Pin
Jeremy Falcon20-Apr-24 5:43
professionalJeremy Falcon20-Apr-24 5:43 
AnswerRe: Unit Testing... yay or nay? Pin
Mike Hankey20-Apr-24 6:08
mveMike Hankey20-Apr-24 6:08 
GeneralRe: Unit Testing... yay or nay? Pin
Jeremy Falcon20-Apr-24 6:17
professionalJeremy Falcon20-Apr-24 6:17 
GeneralRe: Unit Testing... yay or nay? Pin
Mike Hankey20-Apr-24 7:26
mveMike Hankey20-Apr-24 7:26 
PraiseRe: Unit Testing... yay or nay? Pin
Jeremy Falcon20-Apr-24 7:28
professionalJeremy Falcon20-Apr-24 7:28 
GeneralRe: Unit Testing... yay or nay? Pin
Mike Hankey20-Apr-24 7:30
mveMike Hankey20-Apr-24 7:30 
AnswerRe: Unit Testing... yay or nay? Pin
Mircea Neacsu20-Apr-24 6:53
Mircea Neacsu20-Apr-24 6:53 
I am a fan of unit testing. So much that I wrote my own framework that I described in an article here. However I don't believe in TDD (I also wrote about that in a short blog post).

I call my strategy "Test Assisted Design"(TAD). Sometimes I write tests while I develop a piece of code because it's easier to verify just a small part instead of waiting to the very end. Most of these tests get discarded when the project is finished as they don't make much sense for a finished product. Other times I write tests in response to a bug report and I want to reproduce the bug and investigate. I never found myself writing tests in advance of the code itself as I understand you should do with TDD.
Mircea

GeneralRe: Unit Testing... yay or nay? Pin
Jeremy Falcon20-Apr-24 7:20
professionalJeremy Falcon20-Apr-24 7:20 
GeneralRe: Unit Testing... yay or nay? Pin
Mircea Neacsu20-Apr-24 7:29
Mircea Neacsu20-Apr-24 7:29 
AnswerRe: Unit Testing... yay or nay? Pin
PJ Arends20-Apr-24 6:54
professionalPJ Arends20-Apr-24 6:54 
GeneralRe: Unit Testing... yay or nay? Pin
Jeremy Falcon20-Apr-24 7:27
professionalJeremy Falcon20-Apr-24 7:27 
AnswerRe: Unit Testing... yay or nay? Pin
RickZeeland20-Apr-24 7:01
mveRickZeeland20-Apr-24 7:01 
GeneralRe: Unit Testing... yay or nay? Pin
lmoelleb20-Apr-24 22:47
lmoelleb20-Apr-24 22:47 
GeneralRe: Unit Testing... yay or nay? Pin
RickZeeland21-Apr-24 5:53
mveRickZeeland21-Apr-24 5:53 
GeneralRe: Unit Testing... yay or nay? Pin
jschell23-Apr-24 14:57
jschell23-Apr-24 14:57 
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 
GeneralRe: Unit Testing... yay or nay? Pin
Nelek22-Apr-24 0:15
protectorNelek22-Apr-24 0:15 

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.


Straw Poll

Were you affected by the geomagnetic storms this past weekend?
Communication disruptions, electrified pipes, random unexplained blue-screens in Windows - the list of effects is terrifying.
  Results   507 votes