Monkey see, monkey do; occasionally monkey learn.

random posts from a semi-sentient simian

    Search by
    open cover

    Happy Birthday OpenCover

    Happy Birthday Today OpenCover [https://github.com/OpenCover/opencover] is 4 (four) years old, where has the time gone? In that time it has had over 60,000 nuget downloads [http://www.nuget.org/packages/opencover], been adopted by the SharpDevelop community as the coverage tool for their IDE, and, as I found out the other day, is also being used by the corefx team [https://github.com/dotnet/corefx] to supply coverage information [http://dotnet-ci.cloudapp.net/job/dotnet_corefx_coverage_windows/C

    microservices

    Microservices... Where to Start?

    Micro-services are becoming a "thing" now and are probably de-facto when someone begins a new project and are thinking about hosting in the cloud but where do you start when you have a brown field project. Now I don't have any hot answers or amazing insights here all I can do is describe what my first "micro-service" was and how it came into being. Over time the application was getting more use and the number of servers involved started to increase; we were using auto-scaling and the number of

    open cover

    Excluding code from coverage...

    This may (no guarantees) turn into a series of posts on how to refactor your code for testing using simple examples. This particular example came from a request to add an "Exclude Lines from Coverage" feature to OpenCover [https://github.com/OpenCover/opencover]. Now there are many ways this could be achieved, none of which I had any appetite for as they were either too clunky and/or could make OpenCover very slow. I am also not a big fan on excluding anything from code coverage; though OpenCov