open cover

OpenCover, an open source code coverage tool for .NET that I started in 2011.

    Search by
    open cover

    Mutation Testing; a use for re-JIT?

    Where to start... Mutation testing is described [http://en.wikipedia.org/wiki/Mutation_testing] as modifying a program in small amounts and then executing the original 'passing' tests that exercise that code and then watching them fail. It is a way of making sure your tests are actually testing what you believe they are testing. Setting the stage... So how can we do this with .NET? Well first we need to know what tests execute what code and we can use OpenCover [https://github.com/sawilde/openc

    open cover

    Unusual coverage in VB.NET

    Recently a user posted on StackOverflow [http://stackoverflow.com/questions/8926063/code-coverage-why-is-end-marker-red-end-if-end-try] on why he was seeing unusual coverage results in VB.NET with MSTEST and Visual Studio. The the question already had answers that helped the questioner but I decided to delve a little deeper and find out why the solution proposed worked. The issue was that in his code sample the End Trywas not being shown as covered even though he had exercised the Try and the C

    open cover

    Adding OpenCover to TeamCity

    Adding OpenCover to the latest version of TeamCity [http://www.jetbrains.com/teamcity/](6.5) couldn't be easier however if you need help follow these simple steps. 1. Download [https://github.com/sawilde/opencover/downloads]and install OpenCover 2. Download [http://reportgenerator.codeplex.com/]and install ReportGenerator (actually unzip) 3. Register the OpenCover profiler DLLs using the regsvr32 utility regsvr32 /s x86\OpenCover.Profiler.dll regsvr32