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

Earn badges and make progress

You're on your way to the next level! Join the Kudos program to earn points and save your progress.

Deleted user Avatar
Deleted user

Level 1: Seed

25 / 150 points

Next: Root

Avatar

1 badge earned

Collect

Participate in fun challenges

Challenges come and go, but your rewards stay with you. Do more to earn more!

Challenges
Coins

Gift kudos to your peers

What goes around comes around! Share the love by gifting kudos to your peers.

Recognition
Ribbon

Rise up in the ranks

Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!

Leaderboard

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,456,348
Community Members
 
Community Events
176
Community Groups

Bitbucket Pipeline pytest report missing

I'm running bitbuket pipelines with the python 3.7.3 and next commands:

 

  • pytest to run tests inside docker container
  • pytest  --junitxml=/coverage/test-reports/report.xml
  • docker cp <container>:/coverage/test-reports test-reports

 

Everything goes well, I can see the report output, and the following teardown output, but no reports are shown in report section.

 

Found matching test report file /opt/atlassian/pipelines/agent/build/env/test/test-reports/report.xmlLocated test suite containing 4 tests, with 0 failures and 0 errors.Finished scanning for test reports. Found 1 test report files.Merged test suites, total number tests is 4, with 0 failures and 0 errors.Uploading test resultsFinished uploading test results.

https://community.atlassian.com/t5/Bitbucket-questions/Bitbucket-Pipelines-with-pytest-XML-report/qaq-p/874636

I've made everything like it was mentioned in question above but still no result.

My question is what am I missing, and who are there no reports?

1 answer

1 accepted

0 votes
Answer accepted
Caroline R Atlassian Team Feb 11, 2022

Hi, @Artem Inzhyyants, welcome to the community! 

By the output you shared with us, there were no failures or errors:

with 0 failures and 0 errors

So, it is expected that no reports will show in the report section. This is because the Tests tab will only show if you have failed tests to review. In case you would like to read more about this subject, you can access the following doc: 

I hope this helps, but do let me know if you have any questions. 

Kind regards,
Caroline

Suggest an answer

Log in or Sign up to answer
TAGS

Atlassian Community Events