Testing with PHPUnit - Intro into professional PHP development

Опубликовано: 05 Сентябрь 2024
на канале: Frank Prins
1,033
22

After writing quite some code in the last few videos, It's time to add some test cases! I'll set up PHPUnit, configure it to work in PHPStorm, and then configure a pipeline with GitHub actions to ensure that our test cases run on each push and pull requests.

00:00 Why testing?
00:20 Installing PHPUnit
00:40 Configuration
02:11 The test pyramid
03:23 Adding PSR-4 mappings for tests
03:50 Our first test
04:17 Configuring PHPStorm
05:20 Assertions
05:44 Coverage Annotation
06:40 assertSame vs assertEquals
07:03 GitHub actions workflow
09:04 Outro


На этой странице сайта вы можете посмотреть видео онлайн Testing with PHPUnit - Intro into professional PHP development длительностью часов минут секунд в хорошем качестве, которое загрузил пользователь Frank Prins 05 Сентябрь 2024, поделитесь ссылкой с друзьями и знакомыми, на youtube это видео уже посмотрели 1,033 раз и оно понравилось 22 зрителям. Приятного просмотра!