Click here to Skip to main content
15,896,201 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: Multithreading for dummy Pin
PIEBALDconsult24-Nov-17 7:02
mvePIEBALDconsult24-Nov-17 7:02 
GeneralRe: Multithreading for dummy Pin
Super Lloyd24-Nov-17 18:34
Super Lloyd24-Nov-17 18:34 
GeneralRe: Multithreading for dummy Pin
jschell27-Nov-17 11:00
jschell27-Nov-17 11:00 
JokeLOL (Corny Humor) Pin
Brisingr Aerowing23-Nov-17 15:57
professionalBrisingr Aerowing23-Nov-17 15:57 
GeneralRe: LOL (Corny Humor) Pin
sibling12323-Nov-17 23:28
sibling12323-Nov-17 23:28 
GeneralRe: LOL (Corny Humor) Pin
dandy7224-Nov-17 5:29
dandy7224-Nov-17 5:29 
GeneralRe: LOL (Corny Humor) Pin
Brisingr Aerowing24-Nov-17 14:13
professionalBrisingr Aerowing24-Nov-17 14:13 
GeneralVS Test Tools & Live coverage - Am I overreacting? Pin
Fernando A. Gomez F.23-Nov-17 11:28
Fernando A. Gomez F.23-Nov-17 11:28 
Hello all. I'm kinda ranting with Microsoft and I wanted to ask CPian community about it, because I may be overreacting.

For a new project I'm using unit testing, with vanilla unit tests. Many of these tests include throwing exceptions, such as ArgumentNullException, etc. Then I use VS 2017 Live Coverage to track how many code blocks are being tested and how many remain untested. I think this is a really useful tool, but I'm having this issue: when you run a test method with ExpectedExceptionAttribute, the Live Coverage marks the closing brace as not covered. Weird. This adds a small percentage of non-covered code blocks. So, as the project grows in size, and so do the unit tests, the % of non-covered blocks increase. In my project, I get a 8% of non-covered blocks just because of this scenario!

I filed a bug report[^] with Microsoft, and they replied that this was by design and thus they won't fix it.

So, what do you think, am I overreacting? I don't see the usefulness of a test coverage tool that will nevr yield a 100% coverage score unless I stop throwing exceptions altogether. Thoughts?
GeneralRe: VS Test Tools & Live coverage - Am I overreacting? Pin
HobbyProggy23-Nov-17 19:25
professionalHobbyProggy23-Nov-17 19:25 
GeneralRe: VS Test Tools & Live coverage - Am I overreacting? Pin
F-ES Sitecore23-Nov-17 22:24
professionalF-ES Sitecore23-Nov-17 22:24 
GeneralThought of the Day Pin
OriginalGriff23-Nov-17 4:49
mveOriginalGriff23-Nov-17 4:49 
GeneralRe: Thought of the Day Pin
lopatir23-Nov-17 5:02
lopatir23-Nov-17 5:02 
QuestionRe: Thought of the Day Pin
megaadam23-Nov-17 5:07
professionalmegaadam23-Nov-17 5:07 
GeneralRe: Thought of the Day Pin
Herman<T>.Instance23-Nov-17 5:20
Herman<T>.Instance23-Nov-17 5:20 
GeneralRe: Thought of the Day Pin
lopatir23-Nov-17 6:37
lopatir23-Nov-17 6:37 
GeneralRe: Thought of the Day Pin
PIEBALDconsult23-Nov-17 6:04
mvePIEBALDconsult23-Nov-17 6:04 
GeneralRe: Thought of the Day Pin
Joanne Criss23-Nov-17 20:30
Joanne Criss23-Nov-17 20:30 
GeneralRe: Thought of the Day Pin
Daniel Pfeffer23-Nov-17 6:56
professionalDaniel Pfeffer23-Nov-17 6:56 
GeneralRe: Thought of the Day Pin
Ravi Bhavnani23-Nov-17 7:33
professionalRavi Bhavnani23-Nov-17 7:33 
GeneralRe: Thought of the Day Pin
DRHuff24-Nov-17 4:05
DRHuff24-Nov-17 4:05 
GeneralHappy Thanksgiving! Pin
Marc Clifton23-Nov-17 2:34
mvaMarc Clifton23-Nov-17 2:34 
GeneralRe: Happy Thanksgiving! Pin
lopatir23-Nov-17 2:51
lopatir23-Nov-17 2:51 
GeneralRe: Happy Thanksgiving! Pin
Marc Clifton23-Nov-17 4:53
mvaMarc Clifton23-Nov-17 4:53 
GeneralRe: Happy Thanksgiving! Pin
Jörgen Andersson23-Nov-17 9:25
professionalJörgen Andersson23-Nov-17 9:25 
GeneralRe: Happy Thanksgiving! Pin
BillWoodruff23-Nov-17 2:58
professionalBillWoodruff23-Nov-17 2:58 

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.