Tag Archives: unittest

Visual Studio Shims and Fakes

Microsoft Visual Studio 2013 includes Fakes (Premium and above) to isolate existing code. This involves intercepting calls to the framework and rerouting them to Shims. These Shims are created by right clicking a reference and selecting “Add Fakes Assembly”. But … Continue reading

Posted in Development | Tagged , | 2 Comments

Week roundup

Last week recap and links: Shim for System.Environment.MachineName on msdn; you’ll need to edit the fakes configuration file Visual Studio 2015 Final Release Event on June 20th Docker Visual Studio Extension [ video] on Azure friday Image courtesy of kanate … Continue reading

Posted in Uncategorized | Tagged , , , | Leave a comment

First look at Managed Extensibility Framework (MEF)

Microsoft’s solution for dependency injection is called Managed Extensibility Framework (MEF). Dennis presented about this on the Techdays 2015. Now it is time to look at this myself with a simple demo app. Demo app I’ve created a demo app … Continue reading

Posted in Development | Tagged , , , | 1 Comment

Ask google

In my case I ended up on a number of stackoverflow pages. Unit testing error, could not load file or assembly To reproduce a bug I created a unit test with Rhino mocks. The testclass inherited from the testObject which … Continue reading

Posted in Development | Tagged , , , | Leave a comment

Crashing unit tests in Visual Studio

Today I got my unit tests to crash in Visual Studio. Right after some refactoring the tests stopped working and the output window contained the following message: The active Test Run was aborted because the execution process exited unexpectedly. To … Continue reading

Posted in Development | Tagged , , | 3 Comments