简体   繁体   English

将测试结果写入Excel -nunit

[英]Writing the test result to the Excel -nunit

Is it possible to write the test result to a excel like pass or fail using nunit and C# . 是否可以使用nunit和C#将测试结果写入Excel,如通过或失败。 If any example can be provided it would be great . 如果可以提供任何示例,那就太好了。

With nunit-console you can export test run results to XML and specify XSLT transform. 使用nunit-console,您可以将测试运行结果导出到XML并指定XSLT转换。 With XSLT transform you can, for example, convert XML to CSV and then use Excel to do whatever you want to do with test run results in CSV. 例如,通过XSLT转换,您可以将XML转换为CSV ,然后使用Excel对CSV中的测试运行结果执行任何操作。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM