从Azure DevOps导出测试结果 [英] Export tests results from Azure DevOps

查看:285
本文介绍了从Azure DevOps导出测试结果的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我可能会丢失一些东西,但是找不到从Azure DevOps中项目的构建管道执行页面导出测试运行结果的方法.

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.

有一个"下载日志"选项,原因是,从技术上讲,您可以从测试执行步骤中找到日志,但这似乎不是最佳/正确的选择相较于如何直接从其他构建系统(TeamCity/Jenkins等)中获取测试结果的方法,可以定期获取用于法规/审计/文档目的的此类数据的方法.

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?

推荐答案

我发现今天它实际上可以工作.即使您没有测试计划或没有任何计划,已发布的测试伪像也会进入测试计划->运行.

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.

这篇关于从Azure DevOps导出测试结果的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆