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

Where do I see the test reporting?

Edited

I'm following the documentation here:

https://support.atlassian.com/bitbucket-cloud/docs/test-reporting-in-pipelines/

Created a pipeline like the example:


script:
- dotnet tool install -g trx2junit
- dotnet test --logger 'trx;LogFileName=log.trx'
after-script:
- export PATH="$PATH:/root/.dotnet/tools"
- trx2junit ./TestResults/*.trx


 

At the end I see this:


Finished scanning for test reports. Found 1 test report files.

Merged test suites, total number tests is 65, with 0 failures and 0 errors.

Uploading test results

Finished uploading test results.


However I don't see the results anywhere... Where should I see the uploaded files?
What's missing?

1 answer

1 accepted

1 vote
Answer accepted
Patrik S Atlassian Team May 19, 2022

Hello @Rafael F_ ,

Thank you for reaching out to Atlassian Community.

As per our documentation "The Tests tab will only show if you have failed tests to review". Since all your tests were successful, the test tab is not showing in your build.

In case you want to always have the ability to download the test file, you can use artifacts instead : 

- step: name: Build and test 
script:
- npm install
- npm test
- npm run build
artifacts: # defining the artifacts
- TestResults/*.trx

The artifacts will be available for download for 14 days, and after this period they will be deleted.

You can also refer to our official documentation related to artifacts using the following link :

Hope that helps! Let me know in case you have any questions.

Thank you, @Rafael F_ .

Kind regards,

Patrik S

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