我在运行测试时出现以下错误,
消息:OneTimeSetUp:System.TypeLoadException:无法从程序集“ TechTalk.SpecFlow,版本= 3.1.0.0,文化=中性,PublicKeyToken = 0778194805d6db41”中加载类型'TechTalk.SpecFlow.Infrastructure.RuntimePluginAttribute'。
我正在使用:
您可以在这里找到它:https://github.com/techtalk/SpecFlow.Plus.Examples/tree/master/SeleniumWebTest
我们还写了一篇关于此的博客文章:https://specflow.org/2018/single-test-targeting-multiple-browsers/
完全公开:我是SpecFlow和SpecFlow +的开发者/维护者之一。