PHP-GTK Community Site: Enabling code completion for PHP-GTK in your PHP IDE
The PHP-GTK Community Site has posted some information (and some files) to help make your editor of choice a bit more "PHP-GTK aware" when it comes to code completion. These IDEs are able to provide...
View ArticlePadraic Brady's Blog: The Mockery: An Independent Mock Object and Stub...
Noting the lack of a good, independent library for creating Mock Objects for unit testing PHP scripts, Padraic Brady (with assistance from Travis Swicegood) has come up with a standalone Mock Object...
View ArticleSebastian Bergmann's Blog: Sharing Fixtures and Stubbing/Mocking Static Methods
Sebastian Bergmann has two recent posts dealing with some of the more difficult topics in unit testing. One looks at sharing fixtures between tests and the other talks about stubbing and mocking...
View ArticleSebastian Bergmann's Blog: Stubbing Hard-Coded Dependencies
Sebastian Bergmann has a new post to his blog (part of a series on testing techniques for testing that difficult code) about the hard-coded dependencies required by your code and how to stub them for...
View ArticleZendCasts.com: PHAR Out Autoloading
On the ZendCasts.com site there's a new screencast posted looking at autoloading in phar, the packaging tool built into PHP. This is a continuation of the series started here. Building on the...
View ArticleDZone.com: PHPUnit vs. Phake cheatsheet
On DZone.com today Giorgio Sironi has posted a "cheat sheet" to help you correlate the functionality of two PHP unit testing tools - PHPUnit vs Phake (for mocking objects). Benjamin Eberlei introduced...
View ArticleInviqa techPortal: PHP Test Doubles Patterns with Prophecy
The Inviqa techPortal has a new post today from Marcello Duarte about using Prophecy in unit testing to work with mocks and doubles. Test doubles are a way of replacing all classes in our tests other...
View ArticlePhil Bennett: Dependency Injection as a Tool for Testing
Phil Bennett has a new post today talking about a way that you could use dependency injection in your testing, making it easier to work your system by using stubs, fakes and mocks. Dependency...
View ArticleFederico Cargnelutti: TDD: Checking the return value of a Stub
Federico Cargnelutti has a helpful post to his site today for the unit testing/TDD crowd about checking the retuned value from a stub of an object in your tests. He's using the built-in mocking...
View ArticlethePHP.cc: PHPUnit 4.5 and Prophecy
On thePHP.cc blog today Sebastian Bergmann has posted about the new release of PHPUnit (4.5) and how it now comes with support for the Prophecy mocking tool. PHPUnit has had built-in support for...
View Article
More Pages to Explore .....