Tag Archives: mstest

Workaround for excluding assemblies from code coverage in TFS2015 build

Our build server is TFS2015 and Microsoft promises that we can customize code coverage analysis. But with runsettings setup to exclude assemblies from code coverage exceptions fail the build. Not nice. Today we figured out how to work around this and exclude an … Continue reading

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

MSTest Code Coverage with runsettings

I’ve been fine tuning my code coverage runsettings file for some time now and I’m ready to share it with the world. You can use it in Visual Studio by setting the test settings file. In MSBuild you can specify … Continue reading

Posted in Uncategorized | Tagged , , | Leave a comment

xUnit in Visual Studio

My current project requires xunit for unit testing. I’m used to mstest as it is build into visual studio, but xunit integration is transparent with the extension installed. Setup To get xUnit working with the Test explorer install the xUnit.net … Continue reading

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

TFS Express done right

In my previous post about TFS Express I installed it side-by-side with Visual Studio 2010. This gave me some compatibility issues when running unit tests with code coverage. To be able to demo some things offline I did needed a … Continue reading

Posted in Tooling | Tagged , , , , , | 1 Comment