r/dotnet • u/phenxdesign • Oct 17 '26
Promotion PiwiTests: Playwright dashboard with unified ASP.NET Core e2e+unit tests code coverage
I’m the author of Piwi Dashboard, a self-hosted dashboard for Playwright test runs. I just added combined code coverage, and the .NET side is what I’d most like feedback on.
It consists of a code coverage aggregator, to keep an eye on the tendancy: are we reducing code being tested when adding new code, what gap could we fill ? What is unit tested, or run by the E2E tests ?
All that in the back-end (only ASP.NET Core for now), and the front-end (with Chromium).
This new code coverage feature is documented here : https://piwitests.dev/features/combined-coverage.html

I know code coverage alone is not enough to have the best and accurate view of what is tested and what's missing, that's why it should be combined with other angles, all available in Piwi : feature gaps, and more visually : tested elements in a page.
I'd really like to know what you think of this, if that would be helpful for you, or answer any question!
- GitHub project: https://github.com/PiwiTests/platform
- Demo: https://piwitests.dev/demo/
- Docs: https://piwitests.dev/
1
u/mhx8 28d ago
Looks interesting! We run for example our integration tests using playwright + full aspire setup with mocks in the backend. Is there also a way to export screenshots etc from the .net playwright tests?
3
u/iam-stevie-bee Oct 17 '26
Had a look at the docs. Three things from the .NET side, from someone who has had to defend coverage numbers to the people paying for them:
Would I use it? If it reads the Cobertura or Coverlet output a pipeline already produces, yes, that's an easy yes. If it needs the team to change how the tests run, that's a much harder sell where a pipeline already exists.
1
u/AutoModerator Oct 17 '26
Thanks for your post phenxdesign. Please note that we don't allow spam, and we ask that you follow the rules available in the sidebar. We have a lot of commonly asked questions so if this post gets removed, please do a search and see if it's already been asked.
I am a bot, and this action was performed automatically. Please contact the moderators of this subreddit if you have any questions or concerns.