Alejandro Celaya | Blog

Software development, agile methodologies and open source software.

tag Archive — "testing"

— 2024 —

Capturing remote code coverage in E2E tests with PHPUnit

A couple of years ago I wrote about how to capture code coverage in API tests. In that article I explained the implications of code coverage collection when the code under test does not run in the same process as the test itself. However, the process explained there was a bit hacky and limited to AP…

— 2022 —

My experience migrating from enzyme to react testing library

Recently ReactJS v18 was released. I started to look into its improvements, and checked which of my projects could benefit from them. The main react-based project I maintain at the moment of writing this article is shlink-web-client, so I naturally created a new branch and started the process. The u…

Capturing remote code coverage in API tests with PHPUnit

You can find an improved version of what's described here in Capturing remote code coverage in E2E tests with PHPUnit Capturing code coverage for a test suite is a very useful way to know which parts of your source code are actually getting executed by tests. This is useful not only to know if you…


Older postsNewer posts