php goodness

Alternative PHP mock object

Posted in Short by phpgoodness on June 7, 2011

I created a small github repo where I publish the project of the weekend, PHPTestDummy.

PHPTestDummy is a framework that creates mock objects of your PHP classes. It is capable to define actions for stubs and giving information of the stub calls to be used for assertions. Is might be an alternative mock object solution for PHPUnit.

See: php-test-dummy.org and github/tcz/PHPTestDummy

PHPTestDummy is in an “alpha” stage and therefore it can be buggy. Please report any problem you encounter in the Github issues section. Quite some improvements are planned to be implemented soon, but please, if you specificly would like to see something, open an issue as well.

Advertisements
Tagged with: ,

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: