Categories

    Tags

Is there a Open Source PHP Code Coverage Testing Tool ?

Home Forums General Is there a Open Source PHP Code Coverage Testing Tool ?

This topic contains 3 replies, has 1 voice, and was last updated by Profile photo of Admin Admin 11 years, 8 months ago.

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #1870
    Profile photo of Admin
    Admin
    Keymaster

    Is there a Open Source PHP Code Coverage Testing Tool ? Pl let me know

    #1871
    Profile photo of Admin
    Admin
    Keymaster

    Good that you asked! :)

    SpikeSource has open sourced a code coverage measurement and reporting tool for PHP. This tool, called Spike PHPCoverage, can instrument and record the line coverage information for PHP scripts at runtime.

    Spike PHPCoverage works on PHP 5.0 or newer and uses Xdebug Extension for gathering the coverage data.

    The tool is still in version 0.6 with a lot of room for improvement. It is available as an open source project on <a href=”http://sourceforge.net/projects/phpcoverage/”>SourceForge.net</a>. Please visit <a href=”http://www.spikesource.com/projects/phpcoverage/”>http://www.spikesource.com/projects/phpcoverage/</a&gt; for more information, screen shots, and feedback.

    I have been working on this tool. So let me know your feedback.

    Thanks,
    Nimish (npac <i>at</i> spikesource <i>dot</i> com)

    #1872
    Profile photo of markab
    markab
    Participant

    Nimish, just to let you know that I have added Spike to the opensourcetesting site.
    All the best,
    Mark

    #1873
    Profile photo of Admin
    Admin
    Keymaster

    Ive only played with PHPUnit for a week now, but I have found out that…

    PHPUnit3 (to be released) supports code coverage, also using Xdebug. PHPUnit2 might, but it doesnt show up when typing, "phpunit –help" at the command line. So far, this tool has been great for creating unit tests. The reporting abilities, and compatibility with Phing looks very impressive.

Viewing 4 posts - 1 through 4 (of 4 total)

You must be logged in to reply to this topic.

New User?

Register
Do NOT follow this link or you will be banned from the site!