标签: c# xunit specflow allure
我使用C#,Selenium,Specflow和Xunit创建了一些自动化测试。我想添加一些文字,例如记录到报告中,但不作为附件而是纯文本格式。有什么办法吗? 我尝试使用AllureLifecycle.Instance.AddAttachment(),但不适用于我的情况。
AllureLifecycle.Instance.AddAttachment()