Description
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.