Skip to content

Diff-cover becomes un-responsive when comparing with upstream/master #445

Open
@vibhore-gupta

Description

@vibhore-gupta

Thanks for the wonderful tool. Although, i have a situation to report here.

When i use --compare-branch flag and provides an upstream branch like upstream/master, diff-cover becomes un-responsive.

I am using a dotnet Core Solution with over 200 projects in it. Full scenario with detailed steps are as following:

  1. Developer creates a developer fork from the upstream repo like(user/project).
  2. Creates a local branch in the developer fork. Make the code changes and runs the coverage tool (dotcover in this case)
  3. Feed the coverage file in Cobertura format to diff-cover and compare it with the upstream/master.(Before running this , it was made sure the local branch is rebased with upstream/master)
    diff-cover {path-to-the-cobertura-coverage-file} --fail-under=20 --compare-branch=upstream/master

Diff-cover freezes and doesn't respond.

Please suggest if there is anything wrong with my steps and is there a fix that i can do to make this run. Thanks

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions