Testing Like You've Never Tested Before (Because You Haven't): Workshop Edition
Testing software in an automated fashion is one of the best ways to guarantee quality, reduce bugs, and prevent regressions in our code, and is a prerequisite to operating in a Continuous Integration environment. Unfortunately, the most difficult parts of testing come right at the beginning: scaffolding a test suite and writing our very first tests. For those who are new to automated testing, these hurdles can prove overwhelming.
This workshop covers the fundamentals of testing, in a beginner-friendly way. We'll discuss how testing makes software better, the various levels of the Automation Pyramid, how to scaffold some basic unit and integration tests, and discuss the characteristics of great tests.
Looking for the regular session? It's available at stevegrunwell.com/slides/intro-to-testing.
Download the Pupper application
For this talk, we'll be using a Laravel-based Twitter clone, Pupper.
Please follow the Pupper installation instructions to create your own instance of Pupper to follow along with.
- Testing with Guzzle
- The Five Types of Test Doubles & How to Create Them in PHPUnit by Jessica Mauerhan
- php[world] 2019 — October 22, 2019