How do I integrate test overage into Bitbucket Pipelines .Net Core builds?

Toby Russell
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
March 20, 2018

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. 

1 answer

0 votes
Philip Hodder
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
April 5, 2018

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

fayfolfishi
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
May 30, 2022

hi, is test coverage now supported in bitbucket pipelines?

Like Sean Hogg likes this

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events