PrarR

Results comments of PrarR

You saved me a horrible headache! I switched from Zenject to VContainer, I was persuaded by the partial support in ECS and I've been thinking for 1.5h with the problem...

Okay, after a lot of testing, I found this solution: ```cs private void Construct() { var lifetimeScope = LifetimeScope.Find(); _sceneManager = lifetimeScope.Container.Resolve(); } ``` ```cs [UnityTest] public IEnumerator ChangeSliderValue([Values(0f, 0.5f,...

Okay, still one problem In the Zenject test code: ```cs private SignalBus _signalBus; private void CommonInstall() { PreInstall(); //Container.Bind there PostInstall(); _sceneManager = Container.Resolve(); _signalBus = Container.Resolve(); } ``` In...

Okay, I did some research, I mean something like this: https://github.com/modesttree/Zenject/blob/master/UnityProject/Assets/Plugins/Zenject/OptionalExtras/TestFramework/ZenjectIntegrationTestFixture.cs in this class Zenject author is calling: ``` ZenjectTestUtil.DestroyEverythingExceptTestRunner(immediate); ``` https://github.com/modesttree/Zenject/blob/master/UnityProject/Assets/Plugins/Zenject/OptionalExtras/TestFramework/ZenjectTestUtil.cs It is really helpful to destroy everything VContainer-related...