如何在Nunit 3中产生诱人的报告?

发布于 2025-02-06 07:13:26 字数 330 浏览 2 评论 0原文

我觉得我缺少一些明显的东西,但是在其他任何地方都没有找到答案。

我已经设置了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 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

凝望流年 2025-02-13 07:13:27

我最近努力生成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

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文