Replies: 2 comments
-
Complete agree, for what it's worth. The total opposite of what I was expecting, and not what the original SpecFlow equivalents did either. So far I don't see how |
Beta Was this translation helpful? Give feedback.
0 replies
-
@TimMurphy @hotchkj Could you please have a look / try if the new design prototype would be better fitting? https://github.com/orgs/reqnroll/discussions/472 |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Description:
I have successfully installed and configured the
Reqnroll.Microsoft.Extensions.DependencyInjection
package. My service collection method,GetServices()
, is decorated with the attribute:The Issue:
While debugging, I found that
GetServices()
is only called once — during the initial setup. I expected that it would be invoked at the start of every new scenario. This behavior seems to contradict Rule 1 https://docs.reqnroll.net/latest/automation/context-injection.htmlThe life-time of these objects is limited to a scenario’s execution.
Questions:
GetServices()
to be called only once under this configuration?Any insights or suggestions to help resolve this inconsistency would be greatly appreciated.
Beta Was this translation helpful? Give feedback.
All reactions