Testing the WordPress Waters: A quick dive into plugin integration testing

Cyrille Coquard

Today automated tests are a common solution in the software industry however it is not that widely used in the WordPress one.

This speech will be aimed to help the attendees the importance of the tests but also the different traps that are on your way while writing tests and the solutions that could be used to tackle them (which involves also some ways to help them convince their company to give it a try).

The first part will mostly focus on the theory on how to implement useful tests but will also focus on integration testing and why I consider that they should start by implementing these tests rather than others.

Once the theory is done the second part of the speech is going to focus on practice showing the attendees how to rapidly set up a test environment for Integration tests for a WordPress plugin.

This will be complemented by a couple of scenarios to test and their matching solutions to test them.

Finally the talk will conclude on an opening about the creation of correct unit tests by using double loop TDD.