Skip to content
Test stub and spy for PHP
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Type Name Latest commit message Commit time
Failed to load latest commit information.

Sham - test stub and spy for PHP 5.3

Sham is test stub and spy (test double) for PHP 5.3 and up. The idea behind Sham is to allow everything to be done to a Sham instance. Sham records every interaction you have with it, you can then later investigate what happened. It does not self-verify, use your testing framework for asserting.

It works well, but expect things to change.


View the documentation online at

You can’t perform that action at this time.