Cannot view test results

Raymond Ho January 22, 2018

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 votes
Aneita
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
March 6, 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

Raymond Ho March 7, 2018

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
TAGS
AUG Leaders

Atlassian Community Events