You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It might be an easy way to make the Fixture code easier to write.
So a property like this:
public SomeService {get;set;}
would automatically get filled by a call to IServiceProvider.GetInstance<T>() when starting a new test. Or fall back to State.Get() if the T has no ctor arguments.
Otherwise, use some kind of attribute to make it be explicit:
[Service]
public SomeService {get;set;}
or
[State]
public SomeService {get;set;}
Also, have the value put back into the State tracking during the tear down
The text was updated successfully, but these errors were encountered:
It might be an easy way to make the Fixture code easier to write.
So a property like this:
would automatically get filled by a call to
IServiceProvider.GetInstance<T>()
when starting a new test. Or fall back to State.Get() if the T has no ctor arguments.Otherwise, use some kind of attribute to make it be explicit:
or
Also, have the value put back into the State tracking during the tear down
The text was updated successfully, but these errors were encountered: