When doing any sort of development work I’ve always preferred working on an Ubuntu machine.
Doing so has helped me understand the servers that our production code has always been run on.
Towards the end of last year I started work on a new project that made heavy use of Spatie’s Event Projector package.
Without getting into the package too much, at its core it stores the payloads of all recorded events in a JSON
column within a stored_events
table.
I hadn’t needed to use JSON
columns before and since they were a part of MySQL 5.7 which was released in 2015 I had assumed there’d be no issues with using them.
For the most part I was right, writing unit tests with Laravel’s build in tools has made me come to love writing tests and made TDD part of my daily workflow.
However when I tried to run the same tests within Gitlabs CI/CD pipelines I saw the following:
1 | PHPUnit 7.5.6 by Sebastian Bergmann and contributors. |