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 >>

Good forms create good experiences

It was interesting reading Forms that Work: Designing Web Forms for Usability by Caroline Jarrett and Gerry Gaffney. This was published in 2008, and all it still remains true today. If you’ve ever used a recent Government service - you’ve should have experienced a lot of what I am going...

Read more >>