Click here to Skip to main content
15,907,183 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 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 
AnswerRe: Unit Testing... yay or nay? Pin
Greg Utas20-Apr-24 8:54
professionalGreg Utas20-Apr-24 8:54 
I've hardly ever written a unit test. The few times I did, it was to test a complex, standalone function. Other than that, the test harness would have been far too much work. System and regression testing (automated) are where it's at. Where I worked, developers tested new features--code that they'd written, in many cases largely standalone--but almost always ran tests with their code integrated into the entire system.

A decade ago, Jim Coplien (one of the original C++ gurus) wrote a good article about this. It's fairly long, so scroll to the bottom for his recommendations if you don't have enough patience.

Why Most Unit Testing is Waste | PythonTest [^]
Robust Services Core | Software Techniques for Lemmings | Articles
The fox knows many things, but the hedgehog knows one big thing.

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 
GeneralRe: Unit Testing... yay or nay? Pin
Jeremy Falcon20-Apr-24 10:34
professionalJeremy Falcon20-Apr-24 10:34 
GeneralRe: Unit Testing... yay or nay? Pin
Daniel Pfeffer20-Apr-24 15:15
professionalDaniel Pfeffer20-Apr-24 15:15 
GeneralRe: Unit Testing... yay or nay? Pin
Jeremy Falcon21-Apr-24 5:02
professionalJeremy Falcon21-Apr-24 5:02 
GeneralRe: Unit Testing... yay or nay? Pin
Daniel Pfeffer21-Apr-24 22:31
professionalDaniel Pfeffer21-Apr-24 22:31 
GeneralRe: Unit Testing... yay or nay? Pin
haughtonomous21-Apr-24 23:12
haughtonomous21-Apr-24 23:12 

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.