Ideas for PHPUnit Projects

Sebastian Bergmann » 25 February 2007 » in PHP » 4 Comments

I started to collect ideas for features that I would like to see in PHPUnit but currently lack the time to implement myself.

Mutation Testing
Mutation Testing, or Automated Error Seeding, is an approach where the testing tool makes some change to the tested code, runs the tests, and if the tests pass displays a message saying what it changed. This approach is different than code coverage analysis, because it can find code that is executed by the running of tests but not actually tested. It is not meant as a replacement for code coverage analysis, but complementary.
Jester is such a tool (currently available for C#, Java, and Python).

An implementation of mutation testing for PHP and PHPUnit could use the Parse Tree and Runkit extensions to mutate the tested code.

Web Interface for Test Result Database
PHPUnit supports the logging of test result and code coverage data to a database. A web interface, desirably implemented using the eZ Components, is needed to make this data accessible.

If you are interested in working on these ideas feel free to get in touch.

Trackback specific URI for this entry

4 Comments to "Ideas for PHPUnit Projects"

Display comments as (Linear | Threaded)
  1. Toby
    25/02/2007 at 12:43 Permalink
    What about trying to get the Jester thing into Googles Summer of Code? Sounds like a nice project they might possibly be interessted in.

    Reply

  2. Sebastian Bergmann
    25/02/2007 at 13:26 Permalink
    http://news.php.net/php.internals/28131

    Reply

  3. Lars Olesen
    28/02/2007 at 19:41 Permalink
    I don't know if it is possible using PHPUnit integrated with Selenium, but an automated tool checking a site for xss exploits would be nice.

    Reply

  4. Sebastian Bergmann
    28/02/2007 at 19:59 Permalink
    Chorizo is such a tool.

    Reply

0 Trackbacks to "Ideas for PHPUnit Projects"

  1. No Trackbacks

Add Comment


To prevent automated Bots from commentspamming, please enter the string you see in the image below in the appropriate input box. Your comment will only be submitted if the strings match. Please ensure that your browser supports and accepts cookies, or your comment cannot be verified correctly.
CAPTCHA

Submitted comments will be subject to moderation before being displayed.