简体   繁体   English

从Teamcity获取NUnit测试结果报告

[英]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.

相关问题 Selenium WebDriver C#:如何在 NUnit 框架中获取测试执行结果报告? - Selenium WebDriver C#: How to get test execution results report in NUnit framework? 如何在nunit-results.exe生成的html报告中显示nunit结果xml文件中的单个测试名称 - how to display indiviudal test names from a nunit result xml file in the nunit-results.exe generated html report 如何检测是否在TeamCity中运行NUnit测试? - How can I detect if an NUnit test is running from within TeamCity? 从 Nunit 测试结果生成报告 - Generate report from Nunit test result 如何在TeamCity上使用NUnit运行参数化的Selenium测试? - How to run a parameterized Selenium test with NUnit on TeamCity? 在 TeamCity 中运行 nUnit 测试时错误的 CurrentCulture - Wrong CurrentCulture when running an nUnit test in TeamCity 在每次测试之后,让NUnit控制台在测试运行期间报告测试结果 - Having NUnit console report test results during the test run, after each test 如何获得具有nunit约束的格式正确的测试结果 - How to get properly formatted test results with nunit constraints Teamcity CI构建nunit测试不读取app.config文件 - Teamcity CI build nunit test not reading app.config file teamcity 可以从 docker 容器中的 dotnet 测试中获取测试结果以显示在测试选项卡上吗? - Can teamcity pick up test results from dotnet test in a docker container to display on the test tab?
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM