Click here to Skip to main content
15,905,323 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: Reading our news... Pin
HobbyProggy11-Aug-17 1:16
professionalHobbyProggy11-Aug-17 1:16 
GeneralRe: Reading our news... Pin
raddevus11-Aug-17 2:05
mvaraddevus11-Aug-17 2:05 
GeneralRe: Reading our news... Pin
Nelek11-Aug-17 1:25
protectorNelek11-Aug-17 1:25 
GeneralRe: Reading our news... Pin
F-ES Sitecore11-Aug-17 2:39
professionalF-ES Sitecore11-Aug-17 2:39 
GeneralRe: Reading our news... Pin
lopatir11-Aug-17 2:45
lopatir11-Aug-17 2:45 
GeneralRe: Reading our news... Pin
F-ES Sitecore11-Aug-17 2:56
professionalF-ES Sitecore11-Aug-17 2:56 
GeneralRe: Reading our news... Pin
Marc Clifton11-Aug-17 3:18
mvaMarc Clifton11-Aug-17 3:18 
GeneralRe: Reading our news... Pin
F-ES Sitecore11-Aug-17 3:59
professionalF-ES Sitecore11-Aug-17 3:59 
Marc Clifton wrote:
Ultimately, the goal of a unit test is to provide some confidence that you can build higher level functionality on low level units of code.

I disagree entirely. The purpose of a unit test is to prove that unit of code works, that it behaves as you want it to. That given a certain range of inputs you get the desired outputs. If you write tests that don't explore boundary testing and different scenarios then your tests *are* useless and you shouldn't do them. When you build functionality on top of that code then that introduces more logic etc so requires its own testing. Of course that code isn't going to automatically work just because the code it uses does. If that's what you think unit tests are for then it's no surprise you don't see their value.

Unit tests come into their own when refactoring code or amending code to encompass new functionality, especially when working in a team. Unit tests should add confidence that changes you are doing don't alter the previous logic in any way, and if it does alter that functionality you should be told of such by the failing tests which then enables you to have a discussion around how you come up with a solutoin that satisfies all parties.
GeneralRe: Reading our news... Pin
Marc Clifton11-Aug-17 4:42
mvaMarc Clifton11-Aug-17 4:42 
GeneralRe: Reading our news... Pin
Foothill11-Aug-17 4:11
professionalFoothill11-Aug-17 4:11 
GeneralRe: Reading our news... Pin
Eddy Vluggen11-Aug-17 0:51
professionalEddy Vluggen11-Aug-17 0:51 
GeneralRe: Reading our news... Pin
Nelek11-Aug-17 1:27
protectorNelek11-Aug-17 1:27 
GeneralRe: Reading our news... Pin
Eddy Vluggen11-Aug-17 2:26
professionalEddy Vluggen11-Aug-17 2:26 
GeneralRe: Reading our news... Pin
CodeWraith11-Aug-17 1:38
CodeWraith11-Aug-17 1:38 
GeneralRe: Reading our news... Pin
Nathan Minier11-Aug-17 1:54
professionalNathan Minier11-Aug-17 1:54 
GeneralRe: Reading our news... Pin
CodeWraith11-Aug-17 1:55
CodeWraith11-Aug-17 1:55 
GeneralRe: Reading our news... Pin
Nathan Minier11-Aug-17 1:57
professionalNathan Minier11-Aug-17 1:57 
GeneralRe: Reading our news... Pin
CodeWraith11-Aug-17 2:07
CodeWraith11-Aug-17 2:07 
GeneralRe: Reading our news... Pin
Eddy Vluggen11-Aug-17 2:27
professionalEddy Vluggen11-Aug-17 2:27 
GeneralRe: Reading our news... Pin
Marc Clifton11-Aug-17 3:09
mvaMarc Clifton11-Aug-17 3:09 
GeneralMy family is a treasure. Pin
OriginalGriff11-Aug-17 0:09
mveOriginalGriff11-Aug-17 0:09 
GeneralRe: My family is a treasure. Pin
Johnny J.11-Aug-17 0:11
professionalJohnny J.11-Aug-17 0:11 
GeneralRe: My family is a treasure. Pin
CodeWraith11-Aug-17 0:24
CodeWraith11-Aug-17 0:24 
GeneralRe: My family is a treasure. Pin
Chris Quinn11-Aug-17 0:31
Chris Quinn11-Aug-17 0:31 
GeneralRe: My family is a treasure. Pin
Johnny J.11-Aug-17 0:44
professionalJohnny J.11-Aug-17 0:44 

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.