YoVDO

Writing Unit Tests Using PHPUnit

Offered By: PHP UK Conference via YouTube

Tags

PHP UK Conference Courses Software Development Courses Unit Testing Courses Test-Driven Development Courses Dependency Injection Courses PHPUnit Courses

Course Description

Overview

Save Big on Coursera Plus. 7,000+ courses at $160 off. Limited Time Only!
Explore unit testing in PHP with this comprehensive conference talk from PHP UK Conference 2013. Learn how to write effective unit tests using PHPUnit, overcome common challenges, and apply Test-Driven Development (TDD) principles. Discover techniques for handling code dependencies, database interactions, and email functionality in your tests. Gain insights on convincing stakeholders of the long-term benefits of unit testing. Follow along with hands-on examples and practical advice for writing reliable, reusable tests for real-world applications. Access accompanying slides for additional reference and reinforce your understanding of key concepts such as dependency injection, testing private methods, and the CREP index.

Syllabus

Introduction
Overview
Why is unit testing important
Writing the first unit test
Creating a folder for unit tests
Writing unit tests
Writing complex unit tests
The essence of unit testing
Dependency injection
Dependency containers
Writing testable code
Voodoo
Testing Private Methods
Warning Sign
Database Tests
Testdriven development
Fixing bugs
What to test
CREP index
Conclusion


Taught by

PHP UK Conference

Related Courses

1C:Enterprise Junior Developer Course
Moscow Institute of Physics and Technology via Coursera
A Beginner’s Guide to Docker
Packt via FutureLearn
A Beginner’s Guide to Scrum Project Management
Packt via FutureLearn
Google Professional Cloud DevOps Engineer Certification Path Introduction (GCP DevOps Engineer Track Part 1)
A Cloud Guru
Introduction to Amazon CodeGuru
A Cloud Guru