Microsoft Fakes and Shims with nunit

I am trying to check the user service and I want to fake datetime using Fakes.ShimsContext as it was said on this page

When I run the test, I get

UnitTestIsolation could not initialize. Please restart Visual Studio and repeat this test.

Any difference is that I am using the nunit framework.

Are there any problems I should know when using nunit with Microsoft Fakes and Shims?

+4
source share
1 answer

, Visual Studio, nUnit, MSTest Resharper. , runnner , .

Microsoft Visual Studio Ultimate Premium edition, Windows 8 8.1, . Professional edition .

, , , , , , .

+4

Source: https://habr.com/ru/post/1541863/


All Articles