question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. ItĀ collects links to all the places you might be looking at while hunting down a tough bug.

And, if youā€™re still stuck at the end, weā€™re happy to hop on a call to see how we can help out.

Empty results generating report for Octokit.Net

See original GitHub issue

šŸ‘‹ Greetings.

Iā€™ve been playing with coverlet and I am attempting to add coverage for GitHub Octokit.NET. Currently my attempts to generate coverage result in an empty report and no error. Iā€™m using coverlet in another project and havenā€™t had this problemā€¦

$ coverlet.exe ./Octokit.Tests/bin/Debug/netcoreapp2.0/Octokit.Tests.dll --target "dotnet" --targetargs "test -c Release ./Octokit.Tests/Octokit.Tests.csproj --no-build" --format opencover --output ./coverage.xml --include [*]*
Test run for C:\Users\Spade\Projects\GitHub\octokit.net\Octokit.Tests\bin\Release\netcoreapp2.0\Octokit.Tests.dll(.NETCoreApp,Version=v2.0)
Microsoft (R) Test Execution Command Line Tool Version 15.8.0
Copyright (c) Microsoft Corporation.  All rights reserved.

Starting test execution, please wait...
[xUnit.net 00:00:05.1505440]     Octokit.Tests.Reactive.ObservableRepositoriesClientTests+TheGetAllForCurrentMethod.StopsMakingNewRequestsWhenTakeIsFulfilled [SKIP]
Skipped  Octokit.Tests.Reactive.ObservableRepositoriesClientTests+TheGetAllForCurrentMethod.StopsMakingNewRequestsWhenTakeIsFulfilled

Total tests: 3185. Passed: 3184. Failed: 0. Skipped: 1.
Test Run Successful.
Test execution time: 6.9781 Seconds
Test run for C:\Users\Spade\Projects\GitHub\octokit.net\Octokit.Tests\bin\Release\net452\Octokit.Tests.dll(.NETFramework,Version=v4.5.2)
Microsoft (R) Test Execution Command Line Tool Version 15.8.0
Copyright (c) Microsoft Corporation.  All rights reserved.

Starting test execution, please wait...
[xUnit.net 00:00:03.7761238]     Octokit.Tests.Reactive.ObservableRepositoriesClientTests+TheGetAllForCurrentMethod.StopsMakingNewRequestsWhenTakeIsFulfilled [SKIP]
Skipped  Octokit.Tests.Reactive.ObservableRepositoriesClientTests+TheGetAllForCurrentMethod.StopsMakingNewRequestsWhenTakeIsFulfilled

Total tests: 3189. Passed: 3188. Failed: 0. Skipped: 1.
Test Run Successful.
Test execution time: 6.1141 Seconds


Calculating coverage result...
  Generating report '.\coverage.xml'

+--------+--------+--------+--------+
| Module | Line   | Branch | Method |
+--------+--------+--------+--------+

What steps should I take to start debugging this issue?

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Comments:10 (1 by maintainers)

github_iconTop GitHub Comments

1reaction
tonerdocommented, Sep 10, 2018

Thanks for your help @pjanotti, I should probably add a note about portable PDBs in the README until we can get Coverlet to work with any assembly that has debug information regardless of where it is

0reactions
StanleyGoldmancommented, Sep 10, 2018

@pjanotti Thanks. I thought I tried that but I apparently got turned around.

@tonerdo @pjanotti thanks for your help.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Repository.Comment.GetAllForRepository returning empty ...
I am getting an empty array response when I use Octokit to query a repo with 6 commits that have comments. Same when...
Read more >
Issue.Update remove milestone from issue no matter what
I have code like this: var issueUpdate = new IssueUpdate(); issueUpdate.AddLabel("some label"); await gitHub.Issue.Update("owner", "repo"Ā ...
Read more >
c# - creating a github issue in octokit.net
I am trying to write a script that will open an issue typed in the console. For some reason the issue variable comes...
Read more >
.NET and the Commit Status API ā€“ ...
Go to ā€œFileā†’Newā†’Solution,ā€ and choose ā€œASP.NETā†’Empty ASP.NET Projectā€ from the template chooser, as shown in Figure 1-3. btwg 0503 Figure 1-3Ā ...
Read more >
octokit/rest.js
Privately report a security vulnerability; Create a repository security advisory; Get a repository security advisory; List repository security advisoriesĀ ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found