Month: December 2015

Continuous Improvement Through Experimentation

Have you ever had trouble convincing your colleagues to adopt a new technology, agree to a change in process, or modify ways of working?
It may be worth considering whether your proposal would be more successful when reframed as an experiment.

Continue reading “Continuous Improvement Through Experimentation”

Automatically Generating NUnit Test Cases

I recently came across a need to populate the TestCase attribute of an NUnit test case programatically.
In case you’re not familiar with TestCase, here’s an example:


    [TestCase(1, 1, 2)]
    [TestCase(1, 2, 3)]
    [TestCase(2, 2, 4)]
    public void APlusBEqualsC(int a, int b, int c)
    {
        Assert.AreEqual(c, a + b, $"Expected {a} + {b} = {c}");
    }

As is hopefully clear from the sample above, TestCase lets you vary the inputs to an NUnit test method while reusing the test code itself.
For each TestCase attribute supplied, a new test is created using the supplied parameter list.

But what if you want to generate these TestCase attributes through code?

Continue reading “Automatically Generating NUnit Test Cases”

Building the Windows Phone Client (MixRadio Blog)

Back at the end of 2013, I wrote a blog post entitled Building the New Windows Phone Client for the MixRadio Developers website. It gives some insight into the way we were working back then and how we approached what was a major change to the app.

Rafe Blandford from All About Windows Phone gave his take on the post in How Nokia Built the New MixRadio Windows Phone App.

Continue reading “Building the Windows Phone Client (MixRadio Blog)”