Error when updating Specflow.Actions.Selenium to 0.1.250
Hello,
I use Specflow.Actions.Selenium version 0.1.188 and I want to upgrade to version 0.1.250.
After upgrading the nuget package, I had to add nuget package Specflow.Actions.Configuration (don't know why it wasn't added automatically ...). Without this I have a compilation error in specflow build task that compile feature files.
So I added a reference to the nuget package Specflow.Actions.Configuration v0.1.255 (I also tried with 0.1.256 that you issued today and it is the same)
And now I get the following issue :
Interface cannot be resolved: SpecFlow.Actions.Configuration.ISpecFlowActionsConfiguration (resolution path: SpecFlow.Actions.Selenium.SeleniumConfiguration)
at TechTalk.SpecFlow.Infrastructure.TestExecutionEngine.FireEvents(HookType hookType)
at TechTalk.SpecFlow.Infrastructure.TestExecutionEngine.OnTestRunStart()
at TechTalk.SpecFlow.TestRunner.OnTestRunStart()
at TechTalk.SpecFlow.TestRunnerManager.FireTestRunStart()
at TechTalk.SpecFlow.TestRunnerManager.OnTestRunStart(Assembly testAssembly, IContainerBuilder containerBuilder)
at ALOP_NUnitAssemblyHooks.AssemblyInitialize() in C:\DEV\GIT\alop\ALOP\obj\x64\Debug\net5.0\NUnit.AssemblyHooks.cs:line 20
Note that it never goes into my code ...
Also, I saw every test twice in the VS tests explorer !
If I switch back to 0.1.188 and remove Specflow.Actions.Configuration everything is ok ...
-
Thanks for the info. We added some new features to SpecFlow.Actions.Configurations, but there are some problems with the packaging. I am currently working on it.
I will let you know if it is working again.
0 -
Hi Andreas Willich,
Are issues fixed ?
Thanks
0 -
Yes, the should be fixed in the latest version.
0 -
Hi Andreas Willich,
After installing left version I still have the same issue (with less details) :
Message:
OneTimeSetUp: BoDi.ObjectContainerException : Interface cannot be resolved: SpecFlow.Actions.Configuration.ISpecFlowActionsConfiguration (resolution path: SpecFlow.Actions.Selenium.Configuration.SeleniumConfiguration)I find out the issue, in my Hooks implementation I have this :
[BeforeTestRun]
public static void BeforeTestRun(
ITestRunnerManager testRunnerManager,
ITestRunner testRunner,
SpecFlow.Actions.Selenium.Configuration.SeleniumConfiguration seleniumConfiguration)The issue occurs with the last param, if I remove it then it works.
Any idea ?
it is not easy to know what parameters we can send into hook 's constructor and methods
0
Please sign in to leave a comment.
Comments
4 comments