Click here to Skip to main content
15,887,430 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: Introducing CricLang 🏏 Pin
Andre Oosthuizen16-Mar-24 2:46
mveAndre Oosthuizen16-Mar-24 2:46 
GeneralRe: Introducing CricLang 🏏 Pin
Marc Clifton16-Mar-24 8:48
mvaMarc Clifton16-Mar-24 8:48 
NewsHackers can read private AI-assistant chats even though they’re encrypted Pin
Kent Sharkey14-Mar-24 8:31
staffKent Sharkey14-Mar-24 8:31 
GeneralRe: Hackers can read private AI-assistant chats even though they’re encrypted Pin
Nelek14-Mar-24 11:18
protectorNelek14-Mar-24 11:18 
NewsWhy reaching 100% code coverage must NOT be your testing goal Pin
Kent Sharkey14-Mar-24 8:16
staffKent Sharkey14-Mar-24 8:16 
GeneralRe: Why reaching 100% code coverage must NOT be your testing goal Pin
MarkTJohnson14-Mar-24 9:31
professionalMarkTJohnson14-Mar-24 9:31 
GeneralRe: Why reaching 100% code coverage must NOT be your testing goal Pin
Marc Clifton16-Mar-24 8:45
mvaMarc Clifton16-Mar-24 8:45 
GeneralRe: Why reaching 100% code coverage must NOT be your testing goal Pin
trønderen16-Mar-24 13:54
trønderen16-Mar-24 13:54 
OK, I get your point.

But then, testing shouldn't go by the code lines, but what those code lines do. There should be no reason to change/update a test because the code is changed - only when what the code is supposed to do changes.

Tests should be developed and implemented by people who know nothing of the code. They should make tests for all the functionality, regardless of the lines of code to implement it. If some code is not run during a complete test, it either indicates that the code is dead and can be removed, or that there is some functionality that the test developers never were told about. Maybe the developer didn't tell anybody about this functionality - which is really bad. Secret, undocumented, untested functionality is bad for any software.

So don't strive for 100% code coverage. Strive for 100% functionality coverage. If that doesn't lead to 100% code coverage, you should take a close look at the code and ask: What the elephant is that code there for?

Religious freedom is the freedom to say that two plus two make five.

NewsGoogle says Chrome can now protect you better while preserving your privacy Pin
Kent Sharkey14-Mar-24 8:16
staffKent Sharkey14-Mar-24 8:16 
GeneralRe: Google says Chrome can now protect you better while preserving your privacy Pin
Nelek14-Mar-24 11:17
protectorNelek14-Mar-24 11:17 
GeneralRe: Google says Chrome can now protect you better while preserving your privacy Pin
obermd14-Mar-24 12:40
obermd14-Mar-24 12:40 
NewsThis new robot is so far ahead of Elon Musk's Optimus that it's almost embarrassing Pin
Kent Sharkey14-Mar-24 7:31
staffKent Sharkey14-Mar-24 7:31 
GeneralRe: This new robot is so far ahead of Elon Musk's Optimus that it's almost embarrassing Pin
Nelek14-Mar-24 11:16
protectorNelek14-Mar-24 11:16 
NewsGenerative AI adoption will slow because of this one reason, according to Gartner Pin
Kent Sharkey14-Mar-24 7:31
staffKent Sharkey14-Mar-24 7:31 
GeneralRe: Generative AI adoption will slow because of this one reason, according to Gartner Pin
Joe Woodbury14-Mar-24 10:53
professionalJoe Woodbury14-Mar-24 10:53 
GeneralRe: Generative AI adoption will slow because of this one reason, according to Gartner Pin
Nelek14-Mar-24 11:00
protectorNelek14-Mar-24 11:00 
GeneralRe: Generative AI adoption will slow because of this one reason, according to Gartner Pin
Andre Oosthuizen16-Mar-24 2:58
mveAndre Oosthuizen16-Mar-24 2:58 
NewsWhy software projects fail Pin
Kent Sharkey14-Mar-24 7:31
staffKent Sharkey14-Mar-24 7:31 
GeneralRe: Why software projects fail Pin
Joe Woodbury14-Mar-24 10:56
professionalJoe Woodbury14-Mar-24 10:56 
GeneralRe: Why software projects fail Pin
Nelek14-Mar-24 10:59
protectorNelek14-Mar-24 10:59 
GeneralRe: Why software projects fail Pin
Marc Clifton16-Mar-24 8:42
mvaMarc Clifton16-Mar-24 8:42 
GeneralRe: Why software projects fail Pin
trønderen16-Mar-24 14:06
trønderen16-Mar-24 14:06 
NewsCraig Wright is not Satoshi, didn't author Bitcoin whitepaper, judge rules Pin
Kent Sharkey14-Mar-24 7:01
staffKent Sharkey14-Mar-24 7:01 
GeneralRe: Craig Wright is not Satoshi, didn't author Bitcoin whitepaper, judge rules Pin
Nelek14-Mar-24 10:58
protectorNelek14-Mar-24 10:58 
NewsGet started with .NET 8 and AI using new quickstart tutorials Pin
Kent Sharkey14-Mar-24 6:46
staffKent Sharkey14-Mar-24 6:46 

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.