Using OpenCover for nUnit test coverage on AppVeyor

UPDATE: Previous version of this had an error in the OpenCover code where failed tests did not result in a failed AppVeyor build.


 

AppVeyor is a really cool CI (continuous integration) service that I am currently playing with, so far its been very easy and powerful for both continuous build/tests and deployment (plus they do outstanding support). However, it is missing a couple of features that I would like, one of them being showing code coverage results with each build.

So, until the wonderful people at AppVeyor implement a way to do this natively, here is a bit of a hack to see some nicely formatted coverage results when running automated builds on AppVeyor.

Continue reading Using OpenCover for nUnit test coverage on AppVeyor

“Business without meaning is just annoying admin”

You know that feeling you get when things seem too hard?  When your goals and ambitions get lost in a forest of details, complexity and questions?

I felt like that this morning.  In fact I was starting to question wether my public statement of intentions was just a bit silly.  Sure loads of other great people and businesses have built success based on their values and not solely on the bottom line. But who am I to think I can do the same?  I can’t even clearly answer simple questions about my business.

Continue reading “Business without meaning is just annoying admin”

The next stage

Everyone wants to matter. Yet, how many of us truly feel that the work we do “matters”? Or even that our contribution to that work “matters”?

Too many conversations about the dreaded “job” revolve around the negative aspects: office politics, dreading Monday morning, the unfairness of that thing that happened, not getting paid enough, boredom or the pointless nature of much of the work.

That’s just depressing.

There are three places where I have been honoured with the opposite conversations. And by “the opposite” I mean conversations dominated by the positive. Perhaps not perfect, maybe even very far from perfect, yet voices and faces become full of enthusiasm and energy.

Continue reading The next stage

Google Analytics cross domain tracking with server side redirect in ASP.Net Webforms

Google Analytics cross domain tracking allows tracking of multiple domains (or sub-domains) in a single Analtics profile.  There are loads of great resources for how to implement this, including in unusual client side navigation.

I have come across an issue when using ASP.Net Webforms, where there is a single form for the page and multiple submit actions (server side button onclicks etc) and when we also need a simple form to submit to a different domain.  It then becomes more complex to call the relevant client side Google Analytics methods.

Continue reading Google Analytics cross domain tracking with server side redirect in ASP.Net Webforms

I do web