c# - 更新 SpecFlow 包后出现 Allure 错误
问题描述
我正在使用 Specflow、C# 和 Allure 编写测试以生成报告。更新包后
- 规范流,
- Specflow.xUnit
- SpecFlow.Tools.MsBuild.Generation
从版本3.3.57到3.4.31 我收到此错误:
System.TypeInitializationException : The type initializer for 'Allure.SpecFlowPlugin.AllureTestTracerWrapper' threw an exception.
---- System.TypeInitializationException : The type initializer for 'Allure.SpecFlowPlugin.PluginHelper' threw an exception.
-------- System.MissingMethodException : Method not found: 'Void TechTalk.SpecFlow.FeatureInfo..ctor(System.Globalization.CultureInfo, System.String, System.String, System.String[])'
你知道我该如何解决这个问题吗?
感谢您就如何解决此问题提供任何意见或建议。
解决方案
Specflow.Allure 包现已更新以支持 SpecFlow 3.4+ https://www.nuget.org/packages/SpecFlow.Allure/3.5.0.4
推荐阅读
- heroku - 如何将 gpg.conf 配置文件添加/更新到 Heroku
- connection - 程序无法连接到交互式代理
- c++ - C++自定义函数声明错误:未知类型名称
- elixir - 使用管道与函数调用时的错误/混淆
- assembly - 跨越缓存线如何影响循环的解码方式?
- html - 如何防止查询 >>> 正在加载的表上?Django 表
- android - 项目更新推荐:Android Gradle Plugin 可以升级。错误消息:在构建文件中找不到 AGP 版本
- unit-testing - 如何在模拟对象的方法中调用 CountDownLatch.countDown()
- c - 从 C 中的 csv 文件读取导致输入不打印
- mysql - 每个客户一个实例 - Sequelize 和 MySQL