Главная
Study mode:
on
1
Introduction
2
Overview
3
Why is unit testing important
4
Writing the first unit test
5
Creating a folder for unit tests
6
Writing unit tests
7
Writing complex unit tests
8
The essence of unit testing
9
Dependency injection
10
Dependency containers
11
Writing testable code
12
Voodoo
13
Testing Private Methods
14
Warning Sign
15
Database Tests
16
Testdriven development
17
Fixing bugs
18
What to test
19
CREP index
20
Conclusion
Description:
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.

Writing Unit Tests Using PHPUnit

PHP UK Conference
Add to list
0:00 / 0:00