如何在Nunit 3中产生诱人的报告?
我觉得我缺少一些明显的东西,但是在其他任何地方都没有找到答案。
我已经设置了Nunit 3的文档中所述的诱惑。在我的魅力学院目录中,我可以看到结果。这转化为实际的魅力报告,如 https:// raw。 githubusercontent.com/unickq/allure-nunit/master/allurescreen.png 。
I feel like I'm missing something obvious, but I haven't found an answer anywhere else.
I have set up Allure as described in the documentation for NUnit 3. After I run my tests through the VS Test Runner I can see the result.json and attachment.txt files in my allure-results directory, but I don't understand how this translates into the actual Allure report, shown at https://raw.githubusercontent.com/unickq/allure-nunit/master/AllureScreen.png.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
我最近努力生成C#中的测试的吸引力报告,并且可以分享我发现的内容。
确实,您提到的是这个Nunit魅力适配器: nunit诱惑库是 ynunit.nunit.nunit
我在尝试时会尝试错误要安装 ynunit.nunit.nunit - >参见创建的问题希望这将被固定/resolved
=========================================================================================================================================================================================== =====================
i
I worked on generating Allure reports for tests in C# recently and I can share what I discovered.
Indeed there is this NUnit Allure adapter which you mentioned: NUnit Allure Now it is archived and the maintained library is Allure.NUnit
I had errors when trying to install Allure.NUnit -> see Issue created hopefully this will be fixed / resolved
=========================
I documented detailed steps for a working Allure + NUnit Allure adapter