Month: April 2024
-
90% is often the perfect amount
It is spring time where I live, which besides chirping birds and blooming flowers means also spring cleaning. In particular, I have spent at 10-20 hours over the last several weeks cleaning the paths in our back yard. Over the winter months, when we don’t use it much, moss, algae, and weeds start to grow…
-
Closures in PHPUnit dataProviders
Today I was working on a PHPUnit test at work for testing Elasticsearch. In this case, I wanted to make sure that the data that I was indexing was findable. Basically I wanted to run a search for a given query and check that the results were as expected. I wanted to run this search…