Увійти Реєстрація
Блог Серії
Кар'єра
Вакансії Компанії
Навчання
Документація Співбесіди Тестування Відео
Екосистема
Пакети Ресурси Проєкти Інструменти Події
Інше
Про нас Реклама

Kath Young - Effective tests and testing effectively - Laracon AU 2025

Laracon AU 11 грудня 2025 Дивитися на YouTube
In this talk, Kath Young breaks down how to write tests that are fast, meaningful and maintainable in real world Laravel applications. She covers the mechanics behind slow test suites, how to prioritise high value coverage and the differences between unit, feature and integration tests, complete with a live-action Lego demo. 📚 ## Chapters 01:00 Three themes for the talk: speed, coverage and testing mindset 01:40 How a test runs: framework boot, schema creation, data setup, external calls and assertions 02:58 Speed principle: build less and cache everything that will not change between tests 03:52 Speed principle: avoid heavy seeders, prefer factories and minimise database I/O 05:47 Speed principle: mock external calls, mail, queues and anything not under test 07:15 Measuring performance: log timestamps, profile your suite and optimise the largest bottleneck 08:06 When your project only has the default two tests, why that is an opportunity not a crisis 08:53 Coverage mindset: progress over perfection and thinking in terms of development plus testing time 09:44 Not all coverage is equal: identifying the critical 40 percent that actually matters 10:52 High use critical functions: the features your app cannot survive without 11:49 High use critical reputation: the flows that damage user trust even if they technically work 12:54 Bug spray mindset: break, test, fix as a team commitment to never repeat a bug 13:35 Preventing regressions by writing the failing test before fixing the bug 14:27 Incremental refactors and writing idiomatic Laravel to make testing easier 15:32 Do not test the framework anecdote: acting as, login events and learning boundaries 16:36 Introducing unit, feature and integration tests and their responsibilities 17:01 Live Lego demo with Gary Yeatman and Marty Friedl to illustrate testing layers 18:38 Unit test demonstration: examining individual bricks and their properties 20:51 Feature test demonstration: assembling towers and seeing where brittle pieces fail 22:03 Integration test demonstration: attempting to build the bridge and observing systemic failure https://x.com/MidgetK https://laracon.au
6

Схожі відео

Статті за темою

Laracon Archive
Новини 04 вересня 2026

Архів Laracon: всі 626 виступів за 14 років у зручному пошуку

Prince John Santillan створив Laracon Archive - незалежний проєкт із пошуковою базою всіх виступів на Laracon за 14 років існування конференції. Архів налічує 626 записів від 287 спікерів із п'яти континентів та хоститься на Laravel Cloud.

1
Laravel Doctor
Новини 04 серпня 2026

Laravel Doctor: діагностика вашого додатка однією Artisan-командою

На Laracon US 2026 анонсували Laravel Doctor - офіційний пакет для діагностики здоров'я Laravel-додатків через команду artisan doctor. Інструмент перевіряє конфігурацію, залежності, базу даних, кеш, черги та безпеку, автоматично виправляє проблеми де можливо і дозволяє пакетам реєструвати власні перевірки.

4
Human-in-the-Loop
Новини 31 липня 2026

Laravel AI SDK отримав функцію Human-in-the-Loop для підтвердження дій

На Laracon US 2026 команда Laravel представила API human-in-the-loop для Laravel AI SDK. Тепер агенти можуть зупинятися перед виконанням інструмента та чекати на підтвердження, відхилення або редагування аргументів людиною.

4