-
Notifications
You must be signed in to change notification settings - Fork 108
Creating mocks
Lazarus Lazaridis edited this page Nov 17, 2017
·
5 revisions
With DuckRails you can defined either static or dynamic mocks.
Mocks that always respond with the same body and headers.
Mocks whose body and headers can dynamically change. This can be achieved by using either Embedded Ruby
or Javascript
as the mock's response body type. The script will be being evaluated on each request of the endpoint and respond accordingly.
- DuckRails - 2017 Wiki pages.
- Feel free to request for documentation that you believe is missing by opening issues with the label
wiki