I have PHP 5.3.8 running on Windows XP with Xdebug v2.1.2 and XML_Parser PEAR module installed.
I have an apache web host on my windows machine and have put the web directory from the \samples\remote directory in my host directory. I then enter the following commands to try and test the coverage tool, and get a few warnings. I have also attached a text document with the commands I made and the subsequent PHP Warning and Notices I get. Also there a couple of notes at the bottom of that document.
C:\php> set PHPCOVERAGE_HOME=C:\php\spikephpcoverage-0.8.2\src
C:\php> php.exe %PHPCOVERAGE%\cli\instrument.php -b C:\Host\web
C:\php> php.exe C:\php\spikephpcoverage-0.8.2\samples\remote\codeCoverageMain.php PHPCOVERAGE_APPBASE_PATH=C:\Host\web
After executing the previous three commands I get
"[CoverageRecorder::stripCoverageDate()]"
No coverage date found instead of the expect output
"[phpcoverage.inc.php] PHPCOVERAGE_HOME=/opt/cache/common/spikephpcoverage/src
[phpcoverage.inc.php] PHPCOVERAGE_REPORT_DIR=
[phpcoverage.inc.php] PHPCOVERAGE_APPBASE_PATH=/opt/oss/share/apache2/htdocs/web
[CoverageRecorder::generateReport()] Writing report.
[CoverageRecorder::generateReport()] [done]"
I really would appreciate some help getting this tool working, I would like to use this tool for my Thesis.
Thank you for your time,
Schuyler