Autoplay
Autocomplete
Previous Lesson
Complete and Continue
WordPress PHP Unit Testing Explained
Welcome
Hello, and welcome to the course! (0:51)
Introduction
Introduction to Testing (2:18)
Introduction to Automated Testing (3:19)
Unit Testing The WordPress Way (1:44)
Unit Testing Concepts (2:45)
Local Development Setup
Unit Testing Tools Explained (3:49)
Setup Part 1: Virtual Box and Vagrant (2:43)
Setup Part 2: Varying Vagrant Vagrants (1:37)
Setup Part 3: Course Plugin & Testing Tools (3:16)
How To Use The Course Plugin (2:15)
Getting Started With Testing
Writing Our First Unit Test (5:00)
Understanding Test Runner Messages (4:34)
Exercise: Using Assertions (2:22)
Fixing Bugs with Unit Tests (3:04)
Using Database Fixtures
Introduction to Database Fixtures (4:02)
Creating Database Fixtures (4:16)
Exercise: Creating Database Fixtures (1:54)
Understanding Database Fixture Teardown (3:47)
Creating Shared Database Fixtures (5:32)
Exercise: Create Shared Database Fixtures (1:26)
Using In-Memory Fixtures
Introduction to In-Memory Fixtures (3:17)
Creating PHP Superglobal Fixtures (3:16)
Exercise: Creating PHP Superglobal Fixtures (1:29)
Creating Global Variable Fixtures (4:40)
Creating Page Specific Fixtures (7:02)
Exercise: Creating Page Specific Fixtures (1:04)
Testing Setup and Configuration
Introduction to WP PHPUnit (2:37)
Sample Project Overview (3:05)
PHPUnit Configuration (4:44)
Test Install Configuration (3:41)
Test Bootstrap Configuration (4:46)
Conclusion
Congratulations for finishing the course! (0:45)
Teach online with
Hello, and welcome to the course!
Lesson content locked
If you're already enrolled,
you'll need to login
.
Enroll in Course to Unlock