Unit testing a WordPress plugin

Tests are an important part of the workflow of every project. They help us to verify everything is working as expected after applying changes to our code and give us the trust to publish them safely.

They also allow us to improve our productivity and deliverability by automating the testing task and setting us free to focus on adding new features.