Click here to Skip to main content
15,891,033 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
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 
GeneralRe: Unit Testing... yay or nay? Pin
Jeremy Falcon20-Apr-24 9:18
professionalJeremy Falcon20-Apr-24 9:18 
Greg Utas wrote:
Other than that, the test harness would have been far too much work
Overlooking the "too much work" part... People that say that don't know unit testing. I can promise you that. Not sure what you define as harness, but if you mean setup, say for something data-driven, then mocking and fixtures are a thing. If anyone thinks they don't help alleviate any issues, then they don't know unit testing.
Greg Utas wrote:
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.
Not trying to turn this into a debate, but you should know that titles don't mean jack to me. Don't care if they wrote an article or not or if he knows C++ or not. Doesn't mean that automatically qualifies him as the expert of all things ever created. I'm not coming at this from a n00b man; I'm just keeping it casual instead of preachy.

I can tell you this man, it's usually the people that know the least about a subject that have such strong opinions. Not always, but a lot times that's true.
Jeremy Falcon

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 
GeneralRe: Unit Testing... yay or nay? Pin
Daniel Pfeffer22-Apr-24 4:30
professionalDaniel Pfeffer22-Apr-24 4:30 

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.