Tag Archives: unittest

Bogus – testdata generator

Photo by Steve Harvey on Unsplash https://www.nuget.org/packages/bogus Creating testdata is not my favourite task. With bogus I can define the rules the data must adhere and generate as much data as I need. The rules are setup with fluent syntax … Continue reading

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

AutoMoqCore – auto mocking IoC

Photo by Phillip Glickman on Unsplash https://www.nuget.org/packages/AutoMoqCore/ Dependency Inversion is one of the SOLID principles. This can be applied to unittesting as well. With AutoMoqCore I can develop robust unittests that will always compile. Focus on the smallest possible code for your … Continue reading

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

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