Last Updated: February 25, 2016
·
1.715K
· nmalcolm

FBMock - PHP mocking framework

<h1>FBMock</h1>

FBMock is a PHP mocking framework designed to be simple and easy to use.

Unlike other mocking frameworks, FBMock is basically just stubs with spies. Instead of using a custom DSL and relying on opaque tear-down verification, FBMock encourages developers to program simple return behaviors and only use spies when appropriate.

http://www.facebook.com/notes/facebook-engineering/fast-and-easy-testing-with-fbmock/10151252291003920

https://github.com/facebook/FBMock