How can include test coverage reporting into my .Net Core Bitbucket Pipelines builds?
I don't mind which tool provides the functionality, but need to integrate this into the Pipeline.
Whilst I can find examples for NCover with Bamboo and examples for other languages with different tools for Pipelines, I have not been able to find any for .Net Core on Pipelines.
Hi Toby,
Test coverage reporting is currently not supported in Bitbucket Pipelines. Our best workaround at the moment is to publish them externally, e.g. to AWS S3, then link the URLs as a custom Bitbucket build status: https://confluence.atlassian.com/bitbucket/publish-and-link-your-build-artifacts-872137736.html
You can also open a feature request here: https://bitbucket.org/site/master/issues/new
General test failure reports are available in Bitbucket Pipelines. You can use any testing framework that outputs xUnit/jUnit formatted output. Bitbucket Pipelines will check inside certain directories for these reports. https://confluence.atlassian.com/bitbucket/test-reporting-in-pipelines-939708543.html
Thanks,
Phil
hi, is test coverage now supported in bitbucket pipelines?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.