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.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
sham
test
Makefile
README.md
Sham.php

README.md

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.

Documentation

View the documentation online at http://sham.anttih.com.

You can’t perform that action at this time.