Upon running a Bitbucket Pipeline with the following:
As you can see from the pytest option, the XML report is saved to "test-reports" folder and the file is named "coverage.xml".
Upon tests failing, the Bitbucket Pipeline says it finds the test report during the pipeline teardown, however it does not display any information on a "Test" tab as explained here:
https://confluence.atlassian.com/bitbucket/test-reporting-in-pipelines-939708543.html
Here's my teardown output in the Bitbucket Pipeline:
<span>Searching for test report files in directories named [test-results, failsafe-reports, test-reports, surefire-reports] down to a depth of 4<br></span><span>Found matching test report file /opt/atlassian/pipelines/agent/build/test-reports/coverage.xml<br></span><span>Finished scanning for test reports. Found 1 test report files.<br></span><span>Merged test suites, total number tests is 0, with 0 failures and 0 errors.</span><span>Skipping cache upload for failed step<br></span>
So my question is why isn't the XML test report (which is supposedly found) not being used by the pipeline to provide me with a proper test summary?
Thanks in advance for help,
Chad