Run your tests daily otherwise your lock in difficult to remove errors

This is part of the Semicolon&Sons Code Diary - consisting of lessons learned on the job. You're in the testing category.

Last Updated: 2024-11-23

We wanted to get access to PHP translations from the client JavaScript code, so we brought in some library. It worked. Problem solved.

About a month later, I ran the JavaScript test suite to discover that they were completely broken because this PHP translations import was not well understood by the JavaScript testing system.

I wish I had discovered this earlier, because then I would have considered other solutions for translations.

Lesson

Run your tests regularly, because early feedback is one of their key advantages. This article is yet another reason why continuous integration is so critical.