Click here to Skip to main content
15,906,766 members

The Insider News

   

The Insider News is for breaking IT and Software development news. Post your news, your alerts and your inside scoops. This is an IT news-only forum - all off-topic, non-news posts will be removed. If you wish to ask a programming question please post it here.

Get The Daily Insider direct to your mailbox every day. Subscribe now!

 
GeneralRe: Visual Studio Code: How Microsoft's 'any OS, any programming language, any software' plan is paying off Pin
Kent Sharkey1-Feb-21 8:30
staffKent Sharkey1-Feb-21 8:30 
GeneralRe: Visual Studio Code: How Microsoft's 'any OS, any programming language, any software' plan is paying off Pin
Nelek1-Feb-21 8:38
protectorNelek1-Feb-21 8:38 
GeneralRe: Visual Studio Code: How Microsoft's 'any OS, any programming language, any software' plan is paying off Pin
Daniel Pfeffer1-Feb-21 9:29
professionalDaniel Pfeffer1-Feb-21 9:29 
NewsElon Musk claims that his wired-up Neuralink monkey is happy and enjoys playing video games Pin
Kent Sharkey1-Feb-21 8:01
staffKent Sharkey1-Feb-21 8:01 
GeneralRe: Elon Musk claims that his wired-up Neuralink monkey is happy and enjoys playing video games Pin
Nelek1-Feb-21 8:21
protectorNelek1-Feb-21 8:21 
GeneralRe: Elon Musk claims that his wired-up Neuralink monkey is happy and enjoys playing video games Pin
Eddy Vluggen1-Feb-21 10:14
professionalEddy Vluggen1-Feb-21 10:14 
NewsDon’t write unit tests for their own sake Pin
Kent Sharkey31-Jan-21 9:16
staffKent Sharkey31-Jan-21 9:16 
GeneralRe: Don’t write unit tests for their own sake Pin
Marc Clifton31-Jan-21 11:15
mvaMarc Clifton31-Jan-21 11:15 
Quote:
Integration tests, for all their problems, at least can say with certainty that the problem you set out to solve was solved, whereas unit tests carry no such guarantee; yet with many of the same costs of an integration test.

We should push back harder against the idea of unit tests. It forces tests to follow code; and given production code that obstensibly works, no one is going to invest the time to change it to make it easier to test after the fact.


Darn tootin' right! With rare exception, I find integration tests to be much much more useful and, especially when testing endpoints, nicely decoupled from the implementation, so I don't have to fix integration test if the endpoint implementation changes (assuming inputs and outputs stay the same.)


[And how unusual. A post that I actually agree with and don't make some sarcastic comment about!]

GeneralRe: Don’t write unit tests for their own sake Pin
Rob Grainger4-Feb-21 12:39
Rob Grainger4-Feb-21 12:39 
NewsGet ready for the death of the global internet. It won’t be pretty Pin
Kent Sharkey31-Jan-21 9:16
staffKent Sharkey31-Jan-21 9:16 
GeneralRe: Get ready for the death of the global internet. It won’t be pretty PinPopular
David O'Neil31-Jan-21 10:05
professionalDavid O'Neil31-Jan-21 10:05 
GeneralRe: Get ready for the death of the global internet. It won’t be pretty Pin
Nelek31-Jan-21 10:05
protectorNelek31-Jan-21 10:05 
GeneralRe: Get ready for the death of the global internet. It won’t be pretty Pin
Eddy Vluggen31-Jan-21 10:18
professionalEddy Vluggen31-Jan-21 10:18 
GeneralRe: Get ready for the death of the global internet. It won’t be pretty Pin
Marc Clifton1-Feb-21 12:16
mvaMarc Clifton1-Feb-21 12:16 
GeneralRe: Get ready for the death of the global internet. It won’t be pretty Pin
Kent Sharkey1-Feb-21 12:18
staffKent Sharkey1-Feb-21 12:18 
NewsDevelopers spend most of their time figuring the system out Pin
Kent Sharkey31-Jan-21 8:46
staffKent Sharkey31-Jan-21 8:46 
GeneralRe: Developers spend most of their time figuring the system out Pin
Nelek31-Jan-21 10:03
protectorNelek31-Jan-21 10:03 
GeneralRe: Developers spend most of their time figuring the system out Pin
Marc Clifton1-Feb-21 12:19
mvaMarc Clifton1-Feb-21 12:19 
NewsWindows Package Manager getting an uninstall option very soon Pin
Kent Sharkey31-Jan-21 8:46
staffKent Sharkey31-Jan-21 8:46 
GeneralRe: Windows Package Manager getting an uninstall option very soon Pin
Nelek31-Jan-21 10:02
protectorNelek31-Jan-21 10:02 
NewsReach your 2021 goals with custom apps — no coding required Pin
Kent Sharkey31-Jan-21 8:46
staffKent Sharkey31-Jan-21 8:46 
GeneralRe: Reach your 2021 goals with custom apps — no coding required Pin
Nelek31-Jan-21 10:01
protectorNelek31-Jan-21 10:01 
GeneralRe: Reach your 2021 goals with custom apps — no coding required Pin
Eddy Vluggen31-Jan-21 10:19
professionalEddy Vluggen31-Jan-21 10:19 
GeneralRe: Reach your 2021 goals with custom apps — no coding required Pin
Marc Clifton1-Feb-21 12:20
mvaMarc Clifton1-Feb-21 12:20 
GeneralRe: Reach your 2021 goals with custom apps — no coding required Pin
Greg Utas1-Feb-21 14:20
professionalGreg Utas1-Feb-21 14:20 

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.