Jakub Zalas' Blog: Mocking Symfony Container services in Behat scenarios with...
Jakub Zalas has a recent post to his blog with a hint about how to test Symfony container services by mocking them (when testing with Behat) with the help of Mockery (and the PSSMockeryBundle)....
View ArticleEmran Hasan's Blog: Using Mockery as a mocking framework with PHPUnit
Emran Hasan has posted an introduction to using the Mockery mocking tool with PHPUnit for a more powerful, easier to use object mocking system. A few days ago I was explaining mocking to a few...
View ArticleNetTuts.com: Mockery: A Better Way
On NetTuts.com there's a new tutorial posted showing you how to use Mockery in your unit testing as an alternative to the built-in mocking tools of something like PHPUnit. Mockery is a PHP extension...
View ArticleSimon Jodet: Partial mocks with Mockery
Simon Jodet has a new post to his site for the Mockery users out there (a mocking tool used in unit testing) showing how he created his partial object mocks. I really like atoum and highly recommend...
View ArticleGonzalo Ayuso: Building a BDD framework with PHP
Gonzalo Ayuso wanted to look into BDD (behavior driven development) in PHP and was looking around for a tool to fit his needs. He didn't find one right away and so decided to create a simple one as a...
View ArticleChris Hartjes: Test Spies and Mockery
Chris Hartjes has a new post today looking at using test spies with Mockery, the alternative mocking framework to PHPUnit's own built-in functionality. Test spies are a feature that allows you to...
View ArticleKonstantin Kudryashov: Conceptual difference between Mockery and Prophecy
In a new post to his site today Konstantin Kudryashov takes a look at two PHP testing tools and the differences/similarities between them - Mockery and Prophecy. Mockery is a mocking tool created by...
View ArticleSitePoint PHP Blog: Mock your Test Dependencies with Mockery
The SitePoint PHP blog has a new post today by Peter Nijssen showing how to use a library that's an alternative to the internal PHPUnit mock handling. The post shows you how to use Mockery to test...
View ArticleDave Marshall: Mockery Spies
In his latest post Dave Marshall takes a look at a handy feature of the Mockery mocking tool (helpful for unit testing) and how to use them in your testing. Spies have been on the cards for mockery...
View ArticleRobert Basic: Mocking hard dependencies with Mockery
Robert Basic has a post today showing how you can mock hard dependencies with Mockery, a mocking library for use in unit testing. In this case, "hard" refers to work around the use of "new" creating...
View Article
More Pages to Explore .....