Click here to Skip to main content
15,890,845 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: 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 
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 
No, but I am a hobbyist so my opinion probably doesn’t count for much. I just have the feeling that if you unit test then you end up writing the code to the test.

Reminds me of years ago there was a bad code contest on another web site. The idea was to write a bad calculator app that had to pass a predefined test.

One of the entries was so bad that no mater what numbers were entered into the calculator, the output was exactly what the unit test expected. But if anything else was entered it did not work at all. But as far as the unit testing was concerned, the app worked perfectly.
Within you lies the power for good - Use it!

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 
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 

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.