Tag Archives: unittest

A first look at IntelliTest

Looking into Visual Studio 2017 features I found that Pex was back in the form of IntelliTest. It was actually introduced in VS2015 but I’ve never seen it. Time to give it a spin. For this I use my Traffic … Continue reading

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

VS2017 Live unit testing in Parallels Desktop VM

TLDR; change the project location on disk from shared mac (my documents) to local windows (c:-drive) to prevent Live unittesting from crashing Live unit testing has been introduced in 2016 (visual studio blog) and got my attention recently by a … Continue reading

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

Microsoft Fakes misbehave on buildserver

We use Microsoft Fakes to isolate some legacy code. Today I added some tests that passed on my machine, but failed on the buildserver. ūüė¶ After reading this stackoverflow post I added the and the builds became green again ūüėČ

Posted in Development | Tagged , | Leave a comment

Common.Logging – generic developer logging

Image courtesy of Ales Krivec / unsplash.com https://www.nuget.org/packages/Common.Logging/ Common.logging provides an abstraction for the logging framework of choice.¬†For IoC the common.logging offers an interface.¬†NoOpLogger is a fake implementation used for¬†unit testing. I prefer to use the nuget from log4net with … Continue reading

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

Unity – IoC container

Image courtesy of Tim Gouw / unsplash.com https://www.nuget.org/packages/Unity/ Dependency¬†Inversion¬†is one of the SOLID principles. An IoC container is a must for me when developing. Unity is my goto framework for the last year. I prefer Unity for it’s¬†lifetime¬†control options. Do … Continue reading

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