| Projects on Google Code | Results 1 - 2 of 2 |
*jqMock* is a lightweight javascript Mock Framework for the [http://code.google.com/p/jqunit/ jqUnit testing framework]. jqMock allows functions in dependent functions such as native alert dialogs to be mocked, so that your own code can be tested in isolation.
jqMock has comprehensive expectation...
PHPMockFunction provides a set of APIs for setting expectations on php functions (whether previously defined or newly defined).
It uses the PECL runkit extension as a means to redefine existing functions, and allows users to set return values or throw exceptions based on passed in arguments.