Test Like You Never Tested Before (Because You Haven't)
A separate ticket is required to attend this full-day training taking place Oct 22nd (the day before the conference) - https://world.phparch.com/register
Testing software in an automated fashion is one of the best ways to guarantee the 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 training session 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, and discuss the characteristics of great tests. Then, we'll dive into a real application to write tests to support legacy code, practice TDD while developing a new feature, and using tests to help prevent regressions with our bugfixes.
It's assumed that attendees will have access to a computer with the ability to install a Laravel Homestead Vagrant environment (see https://laravel.com/docs/master/homestead).
The application we'll be working on comes bundled with all of the necessary dependencies (including current versions of PHP, Node.js, PostgreSQL, etc.) in the virtual machine, but the host machine should have:
At the end of the course, attendees will be confident in contributing to (or even starting) the automated test suite for a PHP application.
Attendees will understand what, when, where, and how to test in a way that benefits the application without being overly rigid/brittle.
Furthermore, they will leave with a fully-functional copy of our application, bundled with a well-documented, Laravel Homestead-powered development environment.