Cannot view test results

Similar to this question except I am using phpunit - https://community.atlassian.com/t5/Bitbucket-questions/Where-do-I-view-pipeline-test-reports/qaq-p/689754

According to the docs, there is a web interface to view the results.

I believe I am putting it in the right folder, and in the teardown it says it was detected and uploaded. 

./test-reports/junit.xml

 

1 answer

0 vote
Aneita Yang Atlassian Team Mar 06, 2018

Hi Raymond,

 

Can you please include a screenshot of what you see in your Pipeline?

 

Test results will only be displayed in the UI if there are test failures. If all of your tests pass, you will not see anything in the UI. If there are test failures, then you will see something along the lines of '5 / 20 tests failed' against the step which runs your tests. Clicking on that will show you your test failures and stack trace etc. 

 

Aneita

Yep already figured it out over a month ago. I assumed I would see test coverage regardless of failed or for successful build, but this is not the case. 

Suggest an answer

Log in or Sign up to answer
Atlassian Community Anniversary

Happy Anniversary, Atlassian Community!

This community is celebrating its one-year anniversary and Atlassian co-founder Mike Cannon-Brookes has all the feels.

Read more
Community showcase
Published Dec 27, 2017 in Bitbucket

Recipe: Deploying AWS Lambda functions with Bitbucket Pipelines

Bitbucket Pipelines helps me manage and automate a number of serverless deployments to AWS Lambda and this is how I do it. I'm building Node.js Lambda functions using node-lambda&nbsp...

2,048 views 1 5
Read article

Atlassian User Groups

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

Find a group

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

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you