web-mocker

A test lib for stubbing http response


Keywords
web, stubbing, http, mock, Stubs
License
Other
Install
pip install web-mocker==0.6

Documentation

Web Mocker

  • Customized Web Requests stubbing package.
  • Define all the web requests/responses to be stubbed in json files and start the webmocker server.
  • All the defined web responses will be stubbed.

Instructions :

Web Mocker package internally uses pretenders for stubbing , Then install the web mocker package

pip install webmocker

Sample Request Stub Json
Sample Test