Skip to content

Compatibility with Aspire.Hosting.Testing #1760

Open
@ArcadeMode

Description

@ArcadeMode

When using the coverlet.msbuild package in combination with Apire.Hosting.Testing for integration testing, the code coverage does not seem to work.

I think this might be related to Aspire starting one or multiple subprocesses where the system under test is running, while the coverage collector probably listens to the process where aspire is running. (my understanding of coverlet is rudimentary, so I could be completely off).

This is also being discussed in dotnet/aspire#8499

Now i'd like to see this resolved but am unsure how. Is it possible to get the integration with Aspire working from the coverlet side? Or should it be resolved from the Aspire side? Maybe both require changes?

Would love your input on this, so we can get coverage reporting working when testing with Aspire.

Metadata

Metadata

Assignees

No one assigned

    Labels

    untriagedTo be investigated

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions