Tag Archives: unittest

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

Week roundup

Last week recap and links: Architecture blueprints MSDN videos about the Microsoft Cloud Three Ways To Test Around Entity Framework that uses InMemoryDbSet, Moq and RimDev.Automation.Sql Getting started with Azure Search on Azure Friday Image courtesy of kanate / FreeDigitalPhotos.net … Continue reading

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

Async unit test

With the .NET framework 4.5 making stuff asynchronous has become very easy with async-await. I’ve looked into unit testing this new way of programming and found that Microsoft thought about this too.
During my exercise I had to replace my trusted RhinoMocks by NSubstitute when the tests are run in parallel. Seems that RhinoMocks is not thread safe. More about that in the references. Continue reading

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

Week 45 roundup

Last week recap and links: I’ll be speaking at the Software Development Conference. Will post in more detail after the event. Found 30 days of TDD serie on telerik’s blog. Good read about Test Driven Development with telerik tools. HATEOAS, … Continue reading

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

Async and structuremap

Update to structuremap 3.1 to solve System.MissingMethodException in async unittests. Continue reading

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