问题
I might be missing something, but can't find a way to export tests run results from the project's build pipeline execution page in Azure DevOps.
There is a "Download logs" option, of cause, where you technically can find logs from tests execution step as well among other things, but that doesn't seems to be the best/proper way to get that kind of data on a regular basis for regulations/audit/documentation purpose compared to how it is possible to get test results from other build systems right out-of-the-box (TeamCity/Jenkins etc).
So what would be the best approach to get this kind of data out of the system - custom task or else?
回答1:
I found that today, it will actually work. Even if you don't have test plans or anything, published tests artefacts will go into Tests Plan -> Runs.
Then you will be able to click on Tests Runs, select the run you want to download, and simply download the attachment.
回答2:
You can export test plans, test suites, and test cases from Test Plans. Select the details that you want in the report. Then email or print this report for review.
来源:https://stackoverflow.com/questions/57731865/export-tests-results-from-azure-devops