News Feed
Sections




News Archive
Looking for more information on how to do PHP the right way? Check out PHP: The Right Way

Padraic Brady's Blog:
PHP Mutation Testing With MutateMe
February 24, 2009 @ 10:20:54

Padraic Brady has posted about a library that he's developed to help with mutation testing in PHP - MutateMe. What's mutation testing? Padraic explains,

Mutation Testing is basically testing...for tests. It ensures that your tests are truly capable of detecting errors and problems with the source code. It does this by mutating the source code itself (using ext/runkit) in such a way that an error is created in the code. If your tests detect the error, all is well with the world. If your tests do not detect the error...well, you better add a new test that does.

He mentions how it compares to code coverage and goes through the entire process you'll need to get MutateMe up and running - the download (or PEAR install), creating the extension, using the command line tool and the results of an example run of the client against a few tests.

0 comments voice your opinion now!
phpunit test unittest mutation codecoverage tutorial mutateme


blog comments powered by Disqus

Similar Posts

Sebastian Bergmann's Blog: PHPUnit 3.0 (Release)

Artur Ejsmont's Blog: How to build mongodb pecl extension in 32bit for PHP 5.2 on OSX Snow Leaopard

DevShed: An Introduction to Simulating the Model-View-Controller Schema in PHP

DevShed: Using Advanced Functions to Maintain the State of Applications with PHP Sessions

PHPMaster.com: Using SPL Iterators, Part 2


Community Events

Don't see your event here?
Let us know!


introduction framework series conference symfony2 podcast version api performance voicesoftheelephpant library interview opinion application composer example release php7 community laravel

All content copyright, 2015 PHPDeveloper.org :: info@phpdeveloper.org - Powered by the Solar PHP Framework