Mocking Dependencies in Unit Tests with Phake

Comments

Comments are closed.

Milen Dobrev at 14:26 on 18 Feb 2016

Brilliant talk, very practical with plenty of examples. I would be definitely looking more into Phake after this.

Josh barker at 14:32 on 18 Feb 2016

Very informative and helpful as we were shown how to use Phake to its full potential

Stefan V at 14:38 on 18 Feb 2016

Great talk with lots of practical bits mixed in well with just enough theory.

Anonymous at 08:04 on 19 Feb 2016

Fast-paced talk with lots of references and examples. Thanks for your time and knowledge, Matthew!

Anonymous at 14:44 on 19 Feb 2016

Great overview of Phake and its API. I'm excited to try this instead of using PHPUnit's clumsy mocking APi.

Very good talk with lots of examples.

Beata Burczyk at 20:41 on 19 Feb 2016

Great talk, many examples, few comparisons this inspiring me to start using Phake, thank you Matthew.

Paul Maidment at 01:38 on 20 Feb 2016

A good overview of Phake

It was a good talk to show what Phake is and how it can be used in PHPUnit. But for me, as a PHPSpec user, it wasn't that useful. I mean, you showed how to use it in PHPUnit and how it's better than Prophecy in PHPUnit, but you haven't mentioned anything about other PHP unit testing tools like PHPSpec. And, to be honest, I don't see any advantages of Phake over Prophecy in PHPSpec. Well, I see even some disadvantages of it (like a possibility to test private methods - you shouldn't test private methods at all).

It's a shame that the audience after this talk may have an impression that Phake is a holy grail. Well, it isn't really. Prophecy has been doing the same for years in PHPSpec.

Gary Hockin at 15:55 on 20 Feb 2016

Good content and delivery, but maybe a touch dry for my tastes.

Jack Segal at 10:03 on 25 Feb 2016

One of my fav talks of the conference. The speaker really knew what he was talking about and explained Phake in a clear and logical manner. I've never done mocking before, but I was able to follow all the way through (I think the fact that the Phake API's are so good also helped that)