Testing PHP – Up and running with PHPUnit



Testing PHP – Up and running with PHPUnit

Testing PHP - Up and running with PHPUnit

Learn to test in PHP. This introductory video will show you how to get started with PHPUnit and includes writing your first test, testing classes, setup and teardown methods, configuration, and refactoring for easier testing. It’s gonna be really cool and this should get you up and running nicely 🏃🏽‍♀️

Check out THE FULL COURSE here:
https://www.garyclarke.tech/p/testing-php

🆓 Want more? Claim your $39 Git and Github course for FREE here:
https://www.garyclarke.tech

👇 Follow me on Social Media:
Twitter: https://twitter.com/garyclarketech
Linkedin: https://www.linkedin.com/in/garyclarketech

💕Show support:
https://www.paypal.com/donate/?hosted_button_id=YYGDXMG8B6N9N

0:00 Introduction
0:44 Installing PHPUnit
3:16 Write your first test
11:47 Testing functions
16:41 Testing class methods
23:56 Command line options
30:32 Filtering tests
32:43 Errors vs Failures
37:18 Autoloading
43:05 The setUp method
48:14 The tearDown method
52:37 Using tests to refactor
55:37 Full course details