PHPUnit
PHPUnit
Rahmanian Academy
http://www.alirahmanian.com/
chapters
• Installing PHPUnit
• PHPUnit Support in IDEs
• Tests and What They're All About
• Writing and Running Tests
• Testing Functions
• Testing Class Methods
• Test Fixtures and Data Providers
• Command Line Options
• Filtering Tests
• Errors vs. Failures
• Autoloading
• The setup and teardown methods
• Php command line interpreter-------- > run test from cli
• phpUnit --------> framework
• Xdebug ---------> This is a PHP extension for remote debugging, code
coverage, and m
Installation methods:
✓Composer installation
• PEAR installation
• Linux package installation
• Manual installation
➢ To test if PHP CLI is installed on your machine, run the following command line: