Alejandro Celaya | Blog

Software development, agile methodologies and open source projects.

Category Archive — "tools"

Is spying on mocks a bad practice for unit tests?
For a long time, I have been trying to include tests in every project in which I've worked on. There are several types of automated tests (or what should actually be called automated checks). From unit tests, integration and functional tests, to end-to-end tests. Each one of th...
Mutation testing with infection in big PHP projects
There's no doubt that having tests in a project allows you to find potential bugs earlier and more easily. Lots of OSS projects require a minimum code coverage in order to accept new pull requests from contributors, and proprietary projects also tend to have some sort of continu...
How to simulate a socket connection with AWS Simple Queue Service
At some point, any enterprise project will probably need a message queue. A message queue is used to publish information (usually known as messages) that a different "node" (usually known as worker) will consume in order to perform a specific action. It is frequently used in we...
The PhpStorm plugins of my choice
Earlier last week I found a github repository which collects different resources related with PhpStorm. Plugins, themes, utilities... I found it very interesting, because I think PhpStorm is the best PHP IDE by far, and I've been using it on an almost daily basis for the last 4 ...
Run PHPUnit tests inside a docker container from PhpStorm
Docker is, without any doubt, the trending tool these days. Everybody wants to use it, because it is very useful, allowing to easily generate development environments for any kind of application. A couple months ago I started working with docker myself (it has taken me a while, ...
Setup a Let's Encrypt certificate in a AWS Elastic Load Balancer
Let's Encrypt is the latest internet trending. Its a relatively young Certification Authority which intends to provide free and automated SSL certificates so that everybody can set encryption to their sites and applications. It is a Linux Foundation project sponsored by most of ...
Composer advanced concepts
Composer is The Tool in any modern PHP project. Nowadays I can't imagine to work without it. It is much more powerful than some people think, easily solving the integration of third party components in our projects, but there are some advanced features that are less known. I'm ...