Free Preview: Test-Driven PHP in Action

Installing PHPUnit

07:29

Installing PHPUnit

Now that we know what TDD is, let’s learn how to install PHPUnit. In this lesson, you will learn how to do it globally (which is the most common way) and locally using some unofficial solutions.

Resources

1.Introduction
2 lessons, 11:38

Free Preview
1.1
Why Test Driven Development (TDD)?
04:09

Free Preview
1.2
Installing PHPUnit
07:29

2.Writing Tests
11 lessons, 1:13:18

2.1
Conventions
06:49

2.2
Assertions
08:01

2.3
Exceptions
03:59

2.4
PHP Errors, Warning and Notices
02:59

2.5
Testing Output
03:56

2.6
Incomplete and Skipped Tests
02:44

2.7
Fixtures
04:48

2.8
File System Testing
09:28

2.9
Stubs
15:53

2.10
Mocks
09:13

2.11
Database Testing
05:28

3.Running Tests
3 lessons, 23:36

3.1
The Command Line Test Runner
08:12

3.2
Bootstrapping and the phpunit.xml File
08:33

3.3
Code Coverage
06:51

4.Miscellaneous
3 lessons, 23:09

4.1
Annotations
11:30

4.2
Skeleton Generator
03:54

4.3
Testing Web Services
07:45

5.Finishing Up: Hands-On Example
1 lesson, 33:43

5.1
Enlog - A Simple Logger Using TDD
33:43


About Radoslaw Benkel
I’m a developer who mostly specializes in PHP and JavaScript. I’m also a drummer, and the @meetphp organizer. There’s always something new to learn.
+ Expand Bio- Collapse Bio