O'Reilly logo

PHP Application Development with NetBeans Beginner's Guide by M A Hossain Tonu

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Chapter 4. Debugging and Testing using NetBeans

If debugging is defined as the art of taking bugs out of a program, then programming must be putting them in.

In this chapter, we are going to learn to debug and test PHP web applications using NetBeans IDE. We will deal with sample projects, to learn the process of bug hunting and testing. The following topics will be discussed in this chapter:

  • Configuring XDebug
  • Debugging the PHP source code with XDebug
  • Unit testing with PHPUnit and Selenium
  • Code coverage

Let's go bug the hunter and do some real tricks...

Debugging the ancient art of programming

After writing a program, the next step is to test the program to find whether it is working as desired or not. Sometimes, when we run our code for the first time ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required