Click here to Skip to main content
15,889,116 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.

 
AnswerRe: I'm fairly old fashioned at times ... but should I embrace unit testing? Pin
Ravi Bhavnani27-Jan-22 10:44
professionalRavi Bhavnani27-Jan-22 10:44 
AnswerRe: I'm fairly old fashioned at times ... but should I embrace unit testing? Pin
r_hyde27-Jan-22 10:46
r_hyde27-Jan-22 10:46 
AnswerRe: I'm fairly old fashioned at times ... but should I embrace unit testing? Pin
Mycroft Holmes27-Jan-22 11:31
professionalMycroft Holmes27-Jan-22 11:31 
GeneralRe: I'm fairly old fashioned at times ... but should I embrace unit testing? Pin
lmoelleb27-Jan-22 20:48
lmoelleb27-Jan-22 20:48 
AnswerRe: I'm fairly old fashioned at times ... but should I embrace unit testing? Pin
Gary R. Wheeler27-Jan-22 15:31
Gary R. Wheeler27-Jan-22 15:31 
AnswerRe: I'm fairly old fashioned at times ... but should I embrace unit testing? Pin
ZevSpitz27-Jan-22 21:25
professionalZevSpitz27-Jan-22 21:25 
AnswerRe: I'm fairly old fashioned at times ... but should I embrace unit testing? Pin
RustyF27-Jan-22 21:24
RustyF27-Jan-22 21:24 
AnswerRe: I'm fairly old fashioned at times ... but should I embrace unit testing? Pin
lmoelleb27-Jan-22 21:07
lmoelleb27-Jan-22 21:07 
You are not ignoring unit testing. You are unit testing.

While there are framework that I would probably use instead, they are not any more or less "unit test" than your code. The only reason I would use them over something like you do is they are "kind of standardized" these days and hook into toolchains easily. Kind of nice when setting up a build pipeline you can just tell it to "run the test" and then it will take care of showing the result and stop the build if the test fails - or in VS you can just see the highlighted failing test and say "debug this". But of course if you know how to do what you are doing now, and would need to spend half an hour learning "the other way" that benefit is gone.

Most "new things" like agile, unit testing, microservices, ... are not new things. They are old things that are assigned a name when they become common enough to warrant a name for easier communication. Once I realized this, I got less annoyed when people "invent" new things.

Had a recruiter once saying "oh, you must have seen a lot of changes in your 20+ years". Ehh. No. Not really.
AnswerRe: I'm fairly old fashioned at times ... but should I embrace unit testing? Pin
Davyd McColl27-Jan-22 21:48
Davyd McColl27-Jan-22 21:48 
AnswerRe: I'm fairly old fashioned at times ... but should I embrace unit testing? Pin
#realJSOP27-Jan-22 23:42
mve#realJSOP27-Jan-22 23:42 
JokeRe: I'm fairly old fashioned at times ... but should I embrace unit testing? Pin
Sander Rossel27-Jan-22 23:48
professionalSander Rossel27-Jan-22 23:48 
GeneralRe: I'm fairly old fashioned at times ... but should I embrace unit testing? Pin
OriginalGriff28-Jan-22 0:20
mveOriginalGriff28-Jan-22 0:20 
AnswerRe: I'm fairly old fashioned at times ... but should I embrace unit testing? Pin
Cpichols28-Jan-22 1:24
Cpichols28-Jan-22 1:24 
AnswerRe: I'm fairly old fashioned at times ... but should I embrace unit testing? Pin
Member 1484049628-Jan-22 1:53
Member 1484049628-Jan-22 1:53 
AnswerRe: I'm fairly old fashioned at times ... but should I embrace unit testing? Pin
Peter Kelley 202128-Jan-22 3:17
Peter Kelley 202128-Jan-22 3:17 
AnswerRe: I'm fairly old fashioned at times ... but should I embrace unit testing? Pin
Jeroen_R28-Jan-22 3:40
Jeroen_R28-Jan-22 3:40 
AnswerRe: I'm fairly old fashioned at times ... but should I embrace unit testing? Pin
Matt Bond28-Jan-22 4:55
Matt Bond28-Jan-22 4:55 
AnswerRe: I'm fairly old fashioned at times ... but should I embrace unit testing? Pin
Bruce Greene28-Jan-22 5:39
Bruce Greene28-Jan-22 5:39 
GeneralRe: I'm fairly old fashioned at times ... but should I embrace unit testing? Pin
Matt McGuire28-Jan-22 6:14
professionalMatt McGuire28-Jan-22 6:14 
AnswerRe: I'm fairly old fashioned at times ... but should I embrace unit testing? Pin
SeattleC++28-Jan-22 5:44
SeattleC++28-Jan-22 5:44 
AnswerRe: I'm fairly old fashioned at times ... but should I embrace unit testing? Pin
Matt McGuire28-Jan-22 6:04
professionalMatt McGuire28-Jan-22 6:04 
AnswerRe: I'm fairly old fashioned at times ... but should I embrace unit testing? Pin
CosmoSpacely28-Jan-22 6:04
CosmoSpacely28-Jan-22 6:04 
AnswerRe: I'm fairly old fashioned at times ... but should I embrace unit testing? Pin
Steve Naidamast28-Jan-22 7:09
professionalSteve Naidamast28-Jan-22 7:09 
AnswerRe: I'm fairly old fashioned at times ... but should I embrace unit testing? Pin
Shmoken9928-Jan-22 11:50
Shmoken9928-Jan-22 11:50 
AnswerRe: I'm fairly old fashioned at times ... but should I embrace unit testing? Pin
englebart5-Feb-22 5:36
professionalenglebart5-Feb-22 5:36 

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.