Click here to Skip to main content
15,887,175 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
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 
I've always been a single dev, once or twice working with another dev at jobs. I've never bothered with Unit Testing (when it started to become popular), because of the nature of the embedded or control software made it almost impossible to simulate real world situations. the code had to be correct also because of the litigation that could happen if something is even a little off and you destroy product.

Although I'm not building that stuff as much anymore, I still go by my old habits of building code and test running it early as possible. some more complex things will get a temporary project to test the code and once I'm happy I'll integrate it into the main project. I rarely have bug issues and still have software out there running since 2001-ish.

this is my first job using SQL that I've never needed before in my previous jobs, but I still find when making stored procedures or complex views that I follow my normal build, test, and expand until the final SPROC is completed. It's nice because it's always a testable 'unit' to verify results separate from the software logic.

this place I'm working for now had so much embedded inline SQL in the legacy code, so It's almost impossible to test out separately from the program logic, so it's all getting replaced slowly.

tldr; I'm old and stubborn, and my process has been working great for me forever, I see no need to use Unit Testing at this point.
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 
GeneralWhat are you listening to? Pin
Cpichols27-Jan-22 2:43
Cpichols27-Jan-22 2:43 
GeneralRe: What are you listening to? PinPopular
OriginalGriff27-Jan-22 2:45
mveOriginalGriff27-Jan-22 2:45 
GeneralRe: What are you listening to? Pin
Cpichols27-Jan-22 2:49
Cpichols27-Jan-22 2:49 
JokeRe: What are you listening to? Pin
musefan27-Jan-22 4:11
musefan27-Jan-22 4:11 
GeneralRe: What are you listening to? Pin
OriginalGriff27-Jan-22 4:27
mveOriginalGriff27-Jan-22 4:27 
GeneralRe: What are you listening to? Pin
dandy7227-Jan-22 5:48
dandy7227-Jan-22 5:48 
GeneralRe: What are you listening to? Pin
OriginalGriff27-Jan-22 6:15
mveOriginalGriff27-Jan-22 6:15 
GeneralRe: What are you listening to? Pin
RickZeeland27-Jan-22 6:17
mveRickZeeland27-Jan-22 6:17 
GeneralRe: What are you listening to? Pin
jmaida28-Jan-22 16:54
jmaida28-Jan-22 16:54 
GeneralRe: What are you listening to? Pin
Maximilien27-Jan-22 2:55
Maximilien27-Jan-22 2:55 
GeneralRe: What are you listening to? Pin
Cpichols27-Jan-22 3:38
Cpichols27-Jan-22 3:38 
GeneralRe: What are you listening to? Pin
Slacker00727-Jan-22 3:00
professionalSlacker00727-Jan-22 3:00 
GeneralRe: What are you listening to? Pin
Cpichols27-Jan-22 3:37
Cpichols27-Jan-22 3:37 

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.