I finally managed to make reports of my tests in bitbucket pipeline by this command:
- dotnet test MyTests --logger "trx;LogFileName=test-reports/results.xml"
Build Teardown says:
Found matching test report file MyPath/test-reports/results.xml
Finished scanning for test reports. Found 1 test report files.
Merged test suites, total number tests is 0, with 0 failures and 0 errors.
However, I can't see these test results file in bitbucket. I know that there should be a new tab in pipeline window or something like it. Any suggestions how to see them in a nice display window?
Didn't find any documentation or articles.
Aucun commentaire:
Enregistrer un commentaire