Book Image

PhpStorm Cookbook

By : Mukund Chaudhary
Book Image

PhpStorm Cookbook

By: Mukund Chaudhary

Overview of this book

Table of Contents (16 chapters)
PhpStorm Cookbook
Credits
About the Authors
About the Reviewers
www.PacktPub.com
Preface
Index

Chapter 5. Testing and Debugging

In this chapter, we will cover the following topics:

  • Installing PHPUnit

  • Test case in PHPUnit

  • Testing an application with PHPUnit

  • Starting a debugging session

  • Setting a breakpoint

  • Configuring breakpoint conditions

  • Creating exception breakpoints

  • Stepping through your code

  • Running to a line of code selected

  • Watching expressions and variables

  • Evaluating expressions

  • Changing code on the fly

  • Code coverage in PhpStorm