jQuery Mockjax is a toolkit that most developers that carry out tests for their code will love.
This jQuery plugin lets them setup a basic listen-and-answer system that allows them to test AJAX interactions and respond to the user's requests.
This process is also known as stubbing or mocking, and is a crucial technique which can be very useful when developing the frontend of a RESTful application that has no backend, data or API to connect to yet.
jQuery Mockjax works well across most browsers and comes with a very well documented README file to get you started on your own AJAX mocking interfaces.
What is new in this release:
- Changed all references to appendTo to point to github.com/jakerella (new owner).
- Removed unused testswarm files.
What is new in version 2.1.0:
- Changed all references to appendTo to point to github.com/jakerella (new owner).
- Removed unused testswarm files.
What is new in version 2.0.1:
- Changed all references to appendTo to point to github.com/jakerella (new owner).
- Removed unused testswarm files.
What is new in version 1.6.2 / 2.0.0-beta:
- Changed all references to appendTo to point to github.com/jakerella (new owner).
- Removed unused testswarm files.
What is new in version 1.6.2:
- Changed all references to appendTo to point to github.com/jakerella (new owner).
- Removed unused testswarm files.
What is new in version 1.6.0:
- Added `unfiredHandlers()` and `unmockedAjaxCalls()`
- Numerous bug fixes and breaking tests
- Internal method cleanup
- Switched to throwing proper `Error` objects
- Switched to tab indentation everywhere
- Added `main` field to package.json
- Fixed responseTime for jsonp and allowed for variable setting with array min/max
- Added `onAfterXxxxx` callbacks
- Updated `$.mockjaxClear()` to be `$.mockjax.clear()` with deprecation notice
- Complete README documentation overhaul
- Fixed issue with Async actions in response callback
- Added "contributing" documentation
What is new in version 1.5.2:
- Added support for jQuery 1.8, 1.9, 2.0.
What is new in version 1.5.1:
- Adding TestSwarm support.
What is new in version 1.4.0:
- Added log setting to intercept or disable logging messages.
- Added proxyType setting to force request type when proxying a mock.
- Added 29 unit tests for jQuery 1.3 through 1.5.
- Fixed compatibility with jQuery 1.3.
- Fixed undefined contents.
- Fixed proxy setting request type.
- Fixed proxy setting request type.
- Fixed JSONP request handling.
- Fixed unit test fail with jQuery 1.5.
Requirements:
- JavaScript enabled on client side
- jQuery
Comments not found