Re: What is the best way to debug/test a PHP code ?
- From: Jerry Stuckle <jstucklex@xxxxxxxxxxxxx>
- Date: Tue, 28 Nov 2006 06:52:52 -0500
sudeerao@xxxxxxxxx wrote:
Please let me know how do we effectively and quickly test a php code ?
There have been whole volumes written about testing code and code quality. It's not at all a simple question. Larger programming departments have entire groups of people dedicated to test and quality control.
As a short answer, you test code with valid data to ensure it does what you want. Then you test it with invalid data to ensure it properly handles the bad input. And when you make changes, you repeat the process to ensure you haven't regressed anything.
Test scripts help a lot. But to use them the code must be well documented and its purpose clear.
--
==================
Remove the "x" from my email address
Jerry Stuckle
JDS Computer Training Corp.
jstucklex@xxxxxxxxxxxxx
==================
.
- References:
- What is the best way to debug/test a PHP code ?
- From: sudeerao@xxxxxxxxx
- What is the best way to debug/test a PHP code ?
- Prev by Date: Re: What is the best way to debug/test a PHP code ?
- Next by Date: Re: is lisp better than php?
- Previous by thread: Re: What is the best way to debug/test a PHP code ?
- Next by thread: is lisp better than php?
- Index(es):