DevOps

Log management with Loki : getting started

Loki is a log database developed by Grafana Labs. It's similar to Elasticsearch, with some major conceptual differences:

Read more
Testing with Selenium and PHPUnit

In this blog post we continue our series about testing a web application with Selenium. This time we will show how to integrate Selenium with PHPUnit tests and assertions.

Read more
HTTP benchmarking with wrk2

One important step of any DevOps toolchain consists in testing the performance of the web application before the new version is deployed in production. HTTP benchmarking is a complex subject as a lot of parameters intervene in the perceived performance of the application.

Read more
Fail a phpunit test if coverage goes below a threshold

Tools like maven allow to fail a build pipeline if the coverage of unit tests goes below a given threshold. For phpunit and PHP project, there is no such option. So here is a trick to fail your pipeline if the coverage of your phpunit tests goes below a threshold.

Read more