Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

how to do Robot framework test reporting and presentation in bitbucket pipelines

Hi I am having issue of migrating our test cases from Jenkins to bitbucket. We have been running it using robot framework. We are generating 3 files: 

Output: /opt/robotframework/reports/output.xml

Log: /opt/robotframework/reports/log.html

Report: /opt/robotframework/reports/report.html

 

But the pipe is able to find only the xml file which I understand due to the format of the other files but it was not able to upload those files for me to view them, any idea why?

Searching for test report files in directories named [test-results, failsafe-reports, test-reports, surefire-reports] down to a depth of 4

Found matching test report file /opt/atlassian/pipelines/agent/build/sisko/reports/test-reports/output.xml

Finished scanning for test reports. Found 1 test report files.Merged test suites, total number tests is 0, with 0 failures and 0 errors.

 

Also the xml file only contains the data and the whole presentation is in those html files. Any idea how we can solve this issue?

1 answer

0 votes

Hi @Zuberu Abdulrahman ,

Thank you for your question!

Test reporting will be automatically enabled in your pipeline when it detects xUnit/JUnit compatible test results which include a fail. For more details, please, follow the Test reporting in Pipelines guide.

Suggest an answer

Log in or Sign up to answer
TAGS
Community showcase
Published in Apps & Integrations

🍂📹 Apptoberfest demo contest roundup: vote for your favorite demos!

Hi Community! The submissions are in (and listed below) for the 🍻🍂Apptoberfest🍂🍻 Demo Competition and it’s time for you to place your votes for the best: Analytics & reporting app demo ...

239 views 6 16
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