Replies: 4 comments 2 replies
-
|
I suppose because Aspire executes referenced projects with Are there any workarounds to this issue ? |
Beta Was this translation helpful? Give feedback.
-
|
I don't think there's a way this will can supported at the moment without changes, so I've raised a feature request here, 🤞🏼 it gets looked at. |
Beta Was this translation helpful? Give feedback.
-
|
Fun fact, Aspire docs about Write your first test does have coverlet.collector package referenced, but still only collect coverage from AppHost https://aspire.dev/testing/write-your-first-test/?testing-framework=xunit
|
Beta Was this translation helpful? Give feedback.
-
|
For those in search of a solution I have shared an alternative way to get code coverage working when testing with Aspire: #8499 (comment) |
Beta Was this translation helpful? Give feedback.

Uh oh!
There was an error while loading. Please reload this page.
-
Hi,
Having a Test project setup on top of DistributedApplicationTestingBuilder - is it possible to collect code coverage?
Out of the box I'm getting 0% reported for the Application project with 'Code Coverage' or 'XPlat Code Coverage'. Any specific steps/configuration to follow ?
Beta Was this translation helpful? Give feedback.
All reactions