News Feed
Sections




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

Mike Lively's Blog:
Improved PHPUnit Filters
February 03, 2009 @ 09:32:26

In a recent post to his blog Mike Lively looks at some improvements that he's worked up for the popular PHP unit testing software - PHPUnit - in regards to its filters.

I have finally gotten some time to do some long awaited work on PHPUnit. The first on my agenda was a small improvement to filtering. This was related to ticket #526. Essentially I added the ability to do both white list and black list filtering.

Besides the Include methods you can add to the data set's filtering, you can also add in Exclude filters to remove the data you don't want in the set. They can also be combined to customize your data set to your heart's content.

0 comments voice your opinion now!
input filter phpunit include exclude whitelist blacklist


blog comments powered by Disqus

Similar Posts

Matthew Weir O'Phinney's Blog: Getting XDebug working with PHPUnit for code coverage reports

Sebastian Bergmann's Blog: PHP-GTK2 Testrunner for PHPUnit

Sebastian Bergmann's Blog: Article on PHPUnit at IBM DeveloperWorks

Mike Lively's Blog: Adding Database Tests to Existing PHPUnit Test Cases

Jemjabella.co.uk: Spotting Insecure Scripts


Community Events





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


symfony deployment language interview bugfix tips install list framework introduction podcast library package laravel opinion community series voicesoftheelephpant api release

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