【问题标题】:Configuration of Allure report for selenium with C#, specflow tests使用 C#、specflow 测试配置 Selenium 的 Allure 报告
【发布时间】:2017-11-05 04:48:04
【问题描述】:

我将 Selenium 与 C#、specflow 和 NUnit 3 一起使用来创建我的自动化测试。现在我正在寻找像 Allure 这样的报告工具。谁能指导我,如何配置 Allure 报告?

谢谢,

【问题讨论】:

    标签: c#-4.0 selenium-webdriver specflow nunit-3.0


    【解决方案1】:

    查看https://www.nuget.org/packages/Specflow.Allure/

    确保您使用的是支持 TextFixtureSetUp/TextFixtureTearDown(如 3.2)的 NUnit 3 版本,因为 SpecFlow 使用旧的 NUnit,并且此属性在较新的 NUnit 版本中已被弃用。

    Specflow.Allure 目前支持 SpecFlow 2.1,一旦我的 PR 获得批准,就会支持 2.2。

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 1970-01-01
      • 2021-08-04
      • 2017-05-02
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      相关资源
      最近更新 更多