Skip to content

Classes with Generic implementations produce 2 output lines in report #762

@acnicholls-kroll

Description

@acnicholls-kroll

Describe the bug
classes with generic implementations show 2 entries in generated reports

BaseClasses.BaseService	
BaseClasses.BaseService<T>	
BaseClasses.BaseSubjectHandler	
BaseClasses.BaseSubjectHandler<TSubject>
Image

To Reproduce

  1. Create classes that have type parameters like public class BaseService<T> : IService<T> where T : class, new()
  2. write tests, or not, for the class (this part doesn't matter, but helps to see the issue)
  3. run report generator for the project
    any class that has a generic implementation will produce 2 lines in the HTML report, one without the types that shows method level coverage, and another with the types that shows ctor coverage.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions