How to Configure Specflow 3.0.199 with NUnit 3.11?

前端 未结 2 641
你的背包
你的背包 2021-01-25 23:22

I have done this a couple of times before, but it\'s not working today. Am I missing something?

I want to configure Specflow from the scract, using NUnit and to execute

2条回答
  •  北恋
    北恋 (楼主)
    2021-01-25 23:43

    TestFixtureSetUp and TestFixtureTearDown attributes were deprecated for quite some time and were finally removed. They are replaced by OneTimeSetUp and OneTimeTearDown.

    Your choices are probably...

    1. Go back to an NUnit version that supports the old attributes.

    2. Get a version of SpecFlow that uses the new attributes.

    3. Find a way to configure SpecFlow and tell it to use the new attributes. Sorry, but this option, which is no doubt the best, is out of my wheelhouse.

提交回复
热议问题