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.
<span>Found matching test report file /opt/atlassian/pipelines/agent/build/env/test/test-reports/report.xml</span><span>Located test suite containing 4 tests, with 0 failures and 0 errors.</span><span>Finished scanning for test reports. Found 1 test report files.</span><span>Merged test suites, total number tests is 4, with 0 failures and 0 errors.</span><span>Uploading test results</span><span>Finished uploading test </span>results.
<span><a href="https://community.atlassian.com/t5/Bitbucket-questions/Bitbucket-Pipelines-with-pytest-XML-report/qaq-p/874636" target="_blank">https://community.atlassian.com/t5/Bitbucket-questions/Bitbucket-Pipelines-with-pytest-XML-report/qaq-p/874636</a><br></span>
<span>I've made everything like it was mentioned in question above but still no result.</span>
<span>My question is what am I missing, and who are there no reports?</span>