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,498
Community Members
 
Community Events
165
Community Groups

Missing tests tab in bitbucket pipeline

Edited

Hello everyone,

I've added jest-unit test reports which outputs to ./test-reports/junit.xml

The pipeline hasn't been changed, but I can see from the documentation and other community question threads that the build should pickup the test file report automatically and display a tests tab on the page.

So attached is a screenshot of the page, where you can see the pipeline is picking up the test report, but it's not showing the expected "Test" tab next to the "Build" tab in the top left.

What am I missing? Do I need to modify the build plan in any way?

In the pipeline I'm just running npm commands, the deployment included.

bitbucket-missing-tests.png

 

EDIT:

I'm aware that the docs mention "The Tests tab will only show if you have failed tests to review." (https://support.atlassian.com/bitbucket-cloud/docs/test-reporting-in-pipelines/) but then I've seen threads in this forum where an Atlassian team member Philip Hodder said "We now display the successful tests too. But don't generate a full report." (https://community.atlassian.com/t5/Bitbucket-questions/Where-do-I-view-pipeline-test-reports/qaq-p/689754) So I'm not sure which is right

1 answer

1 accepted

0 votes
Answer accepted
Syahrul Atlassian Team Oct 27, 2021

Hi @Sam 

Welcome to the community!

I believe what Philip Hodder mention in the thread is that we now show the successful test in the step UI and not on the build UI as the failed test. Basically, the successful reports are shown as per the below screenshot while the failed report is shown in the pipeline build.

Successful report:
Screenshot 2021-10-28 at 11.40.30 AM.png

Failed report
test-tab.png

We also have an existing feature request on this to show success reports the same as failed reports, please Vote & Watch the feature request so that you'll receive an update whenever we have any at:

I hope this helps, please let us know if you have any additional questions

 

Cheers,
Syahrul

Thanks for clarifying

Like Syahrul likes this

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,241 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