The goal of this workshop is to show how easy it is to start testing WordPress projects and enable participants to implement tests in their own projects.
In the workshop we will write integration and end-to-end tests for a typical WordPress plugin.
We will run tests using WordPress Playground, so they can run inside the WordPress context, each test can run on a differently configured site, and we can test the project using both PHP and HTTP requests.
To start we will fork a plugin from GitHub and learn how to run it locally using the Playground CLI. After that, we will implement integration and end-to-end tests for our plugin using Playground.
Once we have all tests working we will add a GitHub action to run these tests on every commit in GitHub.