Click here to Skip to main content
15,884,628 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
#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 
We code a extremely large enterprise program (multiple EXE's, multiple Windows services, etc.). We use automatic unit testing in only 2 places. Both of them are for complex calculations with a handful of inputs and outputs. There are billions of possible logic paths.

The unit tests included about a 1000 sets of inputs that covered common scenarios and edge cases.
That way if we had to fix the calculations, we knew that they still worked by just running the unit tests. These are not automatically run. Dev's just run them if they change the matching code.

We also use an automatic testing suite to test the program. There is a separate team that creates and maintains that suite. The Dev's never talk to them. I have no idea what they do or how they do it. It took 2+ years for them to get about 90% test coverage. We consider running this automatic test suite as smoke testing.
Bond
Keep all things as simple as possible, but no simpler. -said someone, somewhere

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 
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 

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.