A
Anonymous
Guest
Ad Hoc Testing is pretty much the exact opposite of structured testing.It's what most developers do when they want to make sure the code "compiles" and seems to behave itself. The tests are intended to be run only once, unless a defect is discovered.
Things like print_r or var_demp ing your global scope variables to check they are as they should be. Or running the script a few times to see that it works.
It's good for checking that your code is not obviously full of rubbish but it's no replacement for structured testing, unit tests and good QA.
Things like print_r or var_demp ing your global scope variables to check they are as they should be. Or running the script a few times to see that it works.
It's good for checking that your code is not obviously full of rubbish but it's no replacement for structured testing, unit tests and good QA.