Jusi asked:
I would really appreciate if you could recommend any simple tutorials that I can follow to test my php scripts. I want something like PHP Unit Test. Thank you.
I have wamp and the script are running perfect. Maybe was misunderstood.Here is an example of what I meant, but didn’t get it. I need to show after runing a code that the script passed the test or failed.
http://www.lastcraft.com/first_test_tutorial.php
I would really appreciate if you could recommend any simple tutorials that I can follow to test my php scripts. I want something like PHP Unit Test. Thank you.
I have wamp and the script are running perfect. Maybe was misunderstood.Here is an example of what I meant, but didn’t get it. I need to show after runing a code that the script passed the test or failed.
http://www.lastcraft.com/first_test_tutorial.php


2 Comments to 'How to test php scripts?'
July 25, 2010
There’s no such thing - you test it by running the site. Use Firefox. Install Firebug and FirePHP. They make debugging PHP a LOT easier. (And it’s all free.)
July 25, 2010
Just download and install wamp then you’ll also have your own server and database if you need it. Its easy as hell just like any Other installation no configuring at all instantly up and running and you can test any script any time for nothing.