In this course, join Radoslaw Benkel, as he takes you through the ins and outs of using PHP as most popular test-suite, PHPUnit. Along the way, you will of course learn how to install it on your system, how to use the various assertions, how to create mocks, and much more!
Table of content
- Introduction
- Why TDD?
- Installing PHPUnit
- Writing Tests
- Conventions
- Assertions
- Exceptions
- PHP Errors, Warning and Notices
- Testing Output
- Incomplete and Skipped Tests
- Fixtures
- File System Testing
- Stubs
- Mocks
- Database Testing
- Running Tests
- The Command Line Test Runner
- Bootstrapping and the phpunit.xml File 9m 6s
- Code Coverage
- Miscellaneous
- Annotations
- Skeleton Generator
- Testing Web Services
- Hands-On Example
- Enlog – A Simple Logger Using TDD
No comments:
Post a Comment