Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

How can I get scalatest reporting in bitbucket pipelines?

silvio_disanti
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
April 25, 2019

Everytime I run a pipelines it would be useful to show the test results in the reporting tab but I continue getting errors on the xml syntax. I'm sure that scalatest generate reports in the XML xUnit style (the one needed for pipelines reports) but there's something wrong. Thanks for the help.

1 answer

0 votes
Steven Vaccarella
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
May 9, 2019

Hi Silvio,

Could you provide some more detail? Are you seeing specific errors in the logs? Are the XML files being generated in one of the locations that Pipelines scans? (as described here https://confluence.atlassian.com/bitbucket/test-reporting-in-pipelines-939708543.html)

Could you provide a sample XML file that is not working?

Note that if you want to produce a minimal test case (a small XML file that you expect should work but doesn't) then an easy way to do that is to create a new repository and add the sample file in one of the locations that Pipelines searches. You don't necessarily have to generate the file as part of your build. You could even make the test repository public and link it here if it doesn't contain any sensitive information.

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events