-
-
Notifications
You must be signed in to change notification settings - Fork 852
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Enable Visual Studio code coverage #50
Conversation
@dlemstra Over to you.... |
These changes seem to add another extra 4 minutes to our AppVeyor build. But we are building net451 and that should not affect this. Do you have any idea what could have caused this @olivif? Maybe it was just a one time delay? |
Hmm that's odd. Let me have a look at the build logs, see if I can spot anything 😄 Nothing should add that much really, I can also trigger a couple more builds on this branch to see if it was a one off. |
Ah OK I think I found something. On this particular build seems like we had trouble connecting to codecov the first time, so we retried. The retry seems to have a back off mechanism behind it so the time between retries kept expanding.
whereas on another build off of master I compared with
I think it was intermittent but I would love to re-trigger the build on the PR a few times to make sure. Do you know if I can retrigger a build without a new commit? 😄 |
I found something else. It looks like the tests did not complete properly: Your build:
One of mine:
I don't know how you could trigger a build with a new commit. What I would do in this case would be doing is changing white space inside |
Current coverage is 74.08% (diff: 100%)@@ master #50 diff @@
==========================================
Files 334 337 +3
Lines 17714 17787 +73
Methods 3331 3355 +24
Messages 0 0
Branches 2081 2093 +12
==========================================
+ Hits 13121 13178 +57
- Misses 4004 4019 +15
- Partials 589 590 +1
|
Seems like this was a one off. It looks like you added an extra commit to trigger the build. Are you going to reset your master to the previous commit or should I go ahead and merge this? |
Yes, looks like the time is back to 8mins. I think you can merge this because the indentation was actually off, so the commit did something useful 😄 thanks for the help @dlemstra |
Enable Visual Studio code coverage
Visual Studio code coverage wasn't working for me due to some missing Shim dll so I fixed it - by adding MS codecoverage as a dependency.
I also added a runsettings file to make sure only the right dlls end up in the coverage. You will need to import this from Test - TestSettings - Select test settings file 😄