going static

Seems like it is a New Year tradition that I move my blog to a new format. Last year I moved from Ghost to markdown and WordPress, this meant my site was a little easier to manage but also a lot slower. Over 2017 I got to use jekyll on...

Read more >>

moving from mocha and chai to Jest

I already had unit tests against govuk-elements-nunjucks. They were using mocha (test runner) chai (assertion) and cheerio to query the HTML. One of the gaps in doing it this way is that it doesn’t guard against new markup being added. Snapshots in jest A lot like visual regression (which compares...

Read more >>

Say thank you

Improve team culture by showing gratitude. Gratitude doesn't come naturally to a person but it is an amazing quality that can help start to promote a positive team culture. Gratitude: the quality of being thankful; readiness to show appreciation for and to return kindness. It is a great way to...

Read more >>

That two year thing

There is nothing that interesting about the April 13th (Wikipedia fails me), apart from it was my first day as a front-end developer working inside DWP. I am fortunate to work inside Government and to be able to deliver services in the way we do and at the scale, we...

Read more >>

Irregular week notes s01e02

If I had to describe my week in two words it would be proactive and disjointed. Work, work and work Last week I had a couple of days out of the office to attend dibi conference in Edinburgh. Which meant a lot of my working week has been catching up...

Read more >>

A few nice nice things from Maker Fair uk

If you’ve never been to a Maker Fair, it is an odd experience to describe, it is like a geeky tech show and tells. The best example I can give is the amazing, panecakeBot, which you can now buy. Do It Kits I love to see technology kits merged with...

Read more >>

give me problems to solve, not solutions implement

For a long time now I’ve generally been working to deliver user stories. If you are not familiar with a user story it will probably look something like this: Scenario: User adds item to cart Given I'm a logged-in User When I go to the Item page And I click...

Read more >>