Tag Archives: unittest

Adding SonarQube to TFS build

We’re moving toward DEVOPS with our team and want to automate code quality checks. Another team already installed a SonarQube server for their python development and advised us to try it for our dotnet development. Now we know why the … Continue reading

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

Powershell module

Windows PowerShell is a Windows command-line shell designed especially for system administrators. Windows PowerShell includes an interactive prompt and a scripting environment that can be used independently or in combination. docs.microsoft.com We are building a system and need to transform-and-load … Continue reading

Posted in Development | Tagged , , | 1 Comment

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

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

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