Click here to Skip to main content
14,873,128 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: Dilbert OTD Pin
Nelek27-Jun-19 19:12
protectorNelek27-Jun-19 19:12 
GeneralRe: Dilbert OTD Pin
OriginalGriff26-Jun-19 22:33
mveOriginalGriff26-Jun-19 22:33 
GeneralRe: Dilbert OTD Pin
grralph127-Jun-19 1:12
Membergrralph127-Jun-19 1:12 
GeneralRe: Dilbert OTD Pin
grralph127-Jun-19 1:48
Membergrralph127-Jun-19 1:48 
GeneralMini CCCs 104 Pin
Tim Deveaux26-Jun-19 17:19
MemberTim Deveaux26-Jun-19 17:19 
GeneralRe: Mini CCCs 104 Pin
Peter_in_278026-Jun-19 18:52
professionalPeter_in_278026-Jun-19 18:52 
GeneralRe: Mini CCCs 104 - Done Pin
Tim Deveaux26-Jun-19 18:58
MemberTim Deveaux26-Jun-19 18:58 
GeneralFunny test story Pin
Super Lloyd26-Jun-19 15:51
MemberSuper Lloyd26-Jun-19 15:51 
I hate mock. I mean not in general, in general I don't care I just think they are a waste of time.
But I particularly hate them in the case of automated testing.
Not only they make you waste time writing code to set them up in each test, but then you are not testing the real thing, you are testing mocks!

Now the funny thing is, I had some unit test that validated some functionality as working but it was not working for the user and I was completely puzzled...

After writing a little app to test the real thing, turns out I had one insidious mock in my test. Just one. And that was the one thing that worked in the test but failed in the real app!
On top of that it was completely unneeded.. the real interface would have worked just as well (or failed, in that case) Blush | :O
A new .NET Serializer
All in one Menu-Ribbon Bar
Taking over the world since 1371!


modified 26-Jun-19 21:57pm.

GeneralRe: Funny test story Pin
Sander Rossel26-Jun-19 21:29
professionalSander Rossel26-Jun-19 21:29 
GeneralRe: Funny test story Pin
F-ES Sitecore26-Jun-19 21:47
mveF-ES Sitecore26-Jun-19 21:47 
GeneralRe: Funny test story Pin
Dr.Walt Fair, PE30-Jun-19 4:39
professionalDr.Walt Fair, PE30-Jun-19 4:39 
GeneralHow many unanswered SO questions? Pin
raddevus26-Jun-19 10:58
mvaraddevus26-Jun-19 10:58 
GeneralRe: How many unanswered SO questions? Pin
Mark_Wallace26-Jun-19 13:23
MemberMark_Wallace26-Jun-19 13:23 
GeneralRe: How many unanswered SO questions? Pin
raddevus26-Jun-19 13:57
mvaraddevus26-Jun-19 13:57 
GeneralRe: How many unanswered SO questions? Pin
Herman<T>.Instance26-Jun-19 21:56
MemberHerman<T>.Instance26-Jun-19 21:56 
GeneralRe: How many unanswered SO questions? Pin
raddevus27-Jun-19 2:49
mvaraddevus27-Jun-19 2:49 
GeneralRe: How many unanswered SO questions? Pin
PeejayAdams26-Jun-19 23:22
MemberPeejayAdams26-Jun-19 23:22 
GeneralRe: How many unanswered SO questions? Pin
raddevus27-Jun-19 2:50
mvaraddevus27-Jun-19 2:50 
GeneralRe: How many unanswered SO questions? Pin
PeejayAdams27-Jun-19 3:05
MemberPeejayAdams27-Jun-19 3:05 
GeneralRe: How many unanswered SO questions? Pin
Richard Deeming27-Jun-19 2:29
mveRichard Deeming27-Jun-19 2:29 
GeneralRe: How many unanswered SO questions? Pin
StarNamer_28-Jun-19 1:52
professionalStarNamer_28-Jun-19 1:52 
GeneralRe: How many unanswered SO questions? Pin
Member 798912227-Jun-19 10:39
MemberMember 798912227-Jun-19 10:39 
GeneralRe: How many unanswered SO questions? Pin
raddevus28-Jun-19 2:48
mvaraddevus28-Jun-19 2:48 
GeneralYou know it's time for a break from the compiler when... Pin
Chris Maunder26-Jun-19 8:54
cofounderChris Maunder26-Jun-19 8:54 
QuestionRe: You know it's time for a break from the compiler when... Pin
Eddy Vluggen26-Jun-19 8:57
professionalEddy Vluggen26-Jun-19 8:57 

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.