Skip to content

opencover and cobertura reports generated at the same time overwrite eachother #111

Closed
@Smith00101010

Description

@Smith00101010

Hi,

thank you very much for this tool, it is very useful.

I was thrilled when #75 was implemented to allow me to create opencover and cobertura reports at the same time, as different tools need different inputs.

Maybe I am overlooking something, but when I try to use it, the reports overwrite each other as they have the same file extension (.xml).

I used /p:CoverletOutputFormat=\"opencover,cobertura\" and coverlet reported as expected:

Generating report 'C:....\coverage.xml'
Generating report 'C:....\coverage.xml'

Is there a way to avoid this? Maybe coverlet could add the format to the file name (Either by default or if a flag is set). So in my case it would create "coverage.opencover.xml" and "coverage.cobertura.xml".

I could help implementing it, if you do not have the time.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

      Development

      No branches or pull requests

        Participants

        @Smith00101010

        Issue actions

          opencover and cobertura reports generated at the same time overwrite eachother · Issue #111 · coverlet-coverage/coverlet