News Feed
Sections




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

Sebastian Bergmann's Blog:
The Cost of Test Isolation (and other PHPUnit Features)
November 27, 2008 @ 13:04:30

Sebastian Bergmann as a new post talking about a few of the features of the PHPUnit unit testing framework, especially test isolation.

Some of PHPUnit features come with the cost of a performance penality. This posting explores the effect of the --no-syntax-check, $backupGlobals = FALSE;, and --coverage-html options.

He compares benchmarks for a test with few different settings - $GLOBALS, syntax check and code coverage (including graphical output of the execution times on the various parts of the tests).

0 comments voice your opinion now!
test isolation phpunit feature setting output graphic


blog comments powered by Disqus

Similar Posts

PHP.net: The new documentation build system is ready for testing

Lars Tesmer's Blog: What My Co-Workers and I Learned When Trying to Write Unit Tests for PHPUnit

Matthew Weier O'Phinney: Testing Code That Emits Output

NetTuts.com: Test Code Coverage: From Myth to Reality

PHPImpact Blog: PHPUnit: Testing Zend Framework Controllers


Community Events





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


opinion symfony unittest introduction language series install api release podcast deployment update community library laravel zendserver interview framework package tips

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