Quality assurance tools for PHP

1 view
Skip to first unread message

savage...@gmail.com

unread,
Mar 9, 2008, 6:40:30 AM3/9/08
to ihacky-discuss
I have been doing research on quality assurance tools for php. I
have found two tools:

1. simpleTest - unit testing
2. spikephpcheckstyle - code convention testing

Please post any good and reliable tools for php.

savage...@gmail.com

unread,
Mar 11, 2008, 6:07:52 AM3/11/08
to ihacky-discuss
I found this page that has a good listing of quality assurance tools.

http://www.opensourcetesting.org/unit_php.php

Marcius Bagwan

unread,
Mar 13, 2008, 4:45:30 AM3/13/08
to ihacky-discuss
Okay, I got Spike PHPCheckstyle to work. It's all done through the
command line. Unzip the program to a directory e.g. C:\Tools
\spikephpcheckstyle-0.6 then open a command line window and go to that
directory (or Shift+Right Click on the folder for Vista and select
Open Command Window Here).

Enter this in the command line : php run.php --src {Path to php file/
files} e.g. "C:\Tools\spikephpcheckstyle-0.6>php run.php --src C:\Users
\Owner\Documents\Eclipse.PDT.Workspace\iHacky\"

The coverage report will be in the index.html file in the
"spikephpcheckstyle\style-report" folder. You can specify a different
output directory with the --outdir option. The only thing I can think
of that may cause this not to work is because the php directory was
not added to your path environment variable.

savage...@gmail.com

unread,
Mar 15, 2008, 12:05:44 AM3/15/08
to ihacky-discuss
I tried to run php checkstyle, but I get the following error:

Fatal error: Class 'XSLTProcessor' not found in C:
\spikephpcheckstyle-0.6\run.php on line 101

I tried to find online help but no luck still. Let me know if you can
find the solution to the problem. Thanks Hong
Reply all
Reply to author
Forward
0 new messages