Click here to Skip to main content
15,887,353 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
lmoelleb27-Jan-22 21:07
lmoelleb27-Jan-22 21:07 
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 
It sounds like what you do is exactly what unit testing is.
Perhaps some of the other parts of the Capitalized-Letter "Unit Testing" practices that might come to mind are
> keeping selected relevent unit test cases for reuse in either/both future development or qa builds.
> running the tests *automatically* against a shared build, especially during heavier development times, shared or otherwise.
I don't think these are truly new, but have become more widely recognized and adapted for practically any language. We used to do this stuff in COBOL.
Beware of when any programmer makes automating a test ritually - if it's automatic, there should be a reason for the test. Some people mistake statistics for quality. If a case doesn't make sense anymore get rid of the test(s).

What's great is there are so much shared knowledge and experience. Frameworks and suggested practices abound.
And if you don't happen to use a framework for it, there's really no issue, and it has just as much relevence.

Automating tests is essential to expediting refactoring code. It gives me some assurance that unexpected behaviors haven't popped up.
Some tests behave like functioning documentation to remind me in the future just how this thing works.
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 
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 

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.