[英]Get NUnit Test Results Report from Teamcity
I have a configuration with Teamcity and I want to get the Tests Results Report with powershell after all the tests ran. 我使用Teamcity进行了配置,我想在所有测试运行后使用Powershell获取“测试结果报告”。 Some kind of export. 某种出口。 From Teamcity interface, I can go to Tests and click Download all tests as CSV but I want to get this with powershell in order to include this report in artifacts. 在Teamcity界面中,我可以转到“测试”,然后单击“将所有测试下载为CSV”,但是我想使用powershell将此功能添加到工件中。
That test results report is on the disk (I don't know where or in what form it exists), I just want to get it somehow. 该测试结果报告在磁盘上(我不知道它的位置或形式),我只是想以某种方式获得它。 My problem is not parsing the data, my problem is getting "the data". 我的问题不是解析数据,我的问题是获取“数据”。
Use the "Artifacts" in the General Settings. 使用常规设置中的“工件”。 Just give a path(s), and TC will copy these after each build to own folder (and maintain history.) And you can access these quite nicely from the Projects overview. 只需提供一个或多个路径,TC将在每次构建后将其复制到自己的文件夹中(并保留历史记录。),您可以从“项目”概述中很好地访问这些路径。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.