Reputation: 49
I download this example where is configured Allure using Specflow and Nunit 3: https://github.com/jakismichal/simplespecflowproject
But when I tried to execute one of the features I get this error: Message: OneTimeSetUp: TechTalk.SpecFlow.SpecFlowException : Unable to load plugin: Allure. Please check http://go.specflow.org/doc-plugins for details. ----> System.IO.FileNotFoundException : Could not load file or assembly 'Allure.SpecFlowPlugin' or one of its dependencies. The system cannot find the file specified.
I also see the same error in one of my personal projects with same error. I only installed Specflow.Allure package.
Am I missing something ? or it is a bug of SpecFlow.Allure ?
Upvotes: 0
Views: 2828
Reputation: 5825
SpecFlow wants to load the SpecFlow.Allure runtime plugin.
Make sure it is in your bin\Debug folder.
Please also consider, that the plugin has to work with the SpecFlow version.
We had in every new version a breaking change in the plugin interface. So your version of SpecFlow.Allure has to work with your SpecFlow version.
Not everytime the NuGet packages have set the dependencies right. Be aware of this.
Upvotes: 1