Anglocentrism broke my tests – ignore localisation at your peril!

An issue was recently raised on the ConTabs project that sent me down a bit of a localisation rabbit hole. You see, I’d written a load of conformance tests that included example output. What I hadn’t factored in was how many of these were dependent on my locale. These would potentially fail on computers with different locales. In today’s post, I’d like to explore exactly what went wrong and how we put it right.

Continue reading

Mega mash-up: API testing with Postman, Azure DevOps and

Put on your aprons people – it’s recipe time. Today we’ll be cooking up a delicious batch of automated API tests. For this recipe, you’ll need a buttery Postman base, a squeeze from a random user data API, and a CI system to bake it all in (I used Azure Devops). The result is a set of golden-brown integration tests that use realistic fake data and run in the cloud on a schedule of your choosing. Sound like the sort of recipe you’d like to master? Read on… Continue reading

Happy 10th birthday Stack Overflow (my alter alma mater)

If you’re a developer, you can’t have failed to spot that Stack Overflow is celebrating its tenth birthday. Similarly, I’m sure I’m not alone in owing a great deal to Stack Overflow in terms of my professional development. I thought about sending an eCard, but decided that a blog post might be a more fitting tribute. In today’s post, I want to share my memories of how transformative Stack Overflow was and the impact it had on me personally.

Continue reading

Beware “RunOnStartup” in Azure Functions – a serverless horror story

Everyone loves a good technology horror story, right? The gorier the better in my experience. Well, over the last weekend we had an, um, “incident“. To my mind, it’s got all the ingredients of an excellent example of the genre: a small mistake, complicated conditions, and a big financial hit (mercifully averted). Sound like your kind of thing? Read on. I hope I do it justice…

Continue reading