ISpecFlowOutputHelper is not being injected when using Castle Windsor
AnsweredHi,
I am using SpecFlow+MSTest+Castle Windsor. I needed the ISpecFlowOutputHelper to add data to the LivingDoc report. But the ISpecFlowOutputHelper is not being injected by Castle into the Hooks or StepDefinition constructor.
Is there a special way to register the output helper with Castle or it works only with the default DI container?
0
-
Hmm, could be a problem with the order of loading the plugins.
I think the MSTest plugin is loaded before the Castle.Windsor plugin and so the registration never ends up in castle.windsor.
We load plugins in order of their name, and SpecFlow.MSTest is before SpecFlow.Windsor.
Please create an issue on GitHub for this.
0
Please sign in to leave a comment.
Comments
1 comment