Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
4,299,078
Community Members
 
Community Events
165
Community Groups

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

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

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?

Suggest an answer

Log in or Sign up to answer
TAGS
Community showcase
Published in Bitbucket

Git push size limits are coming to Bitbucket Cloud starting April 4th, 2022

Beginning on April 4th, we will be implementing push limits. This means that your push cannot be completed if it is over 3.5 GB. If you do attempt to complete a push that is over 3.5 GB, it will fail...

2,237 views 2 9
Read article

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you