[英]Selenium WebDriver C#: How to get test execution results report in NUnit framework?
I am using an NUnit framework for Selenium WebDriver C#.我正在为 Selenium WebDriver C# 使用 NUnit 框架。 Does NUnit provide any default test results report, similar to that provided by TestNG in Java? NUnit 是否提供任何默认的测试结果报告,类似于 Java 中 TestNG 提供的报告?
NUnit provides output information in the form of an XML file. NUnit 以 XML 文件的形式提供输出信息。
Beyond that, it depends on how you are running your tests.除此之外,这取决于您如何运行测试。 Each runner may give you a different way to access that file and may give you reports as well.每个运行程序都可能为您提供访问该文件的不同方式,并且也可能为您提供报告。 So, any true answer requires more info from you as to how you run your tests.因此,任何真正的答案都需要您提供有关如何运行测试的更多信息。
If you update your question, I'll try to update my answer.如果您更新您的问题,我会尝试更新我的答案。 :-) :-)
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.