-
Notifications
You must be signed in to change notification settings - Fork 5
Open
Description
Yakbak is described here: http://code.flickr.net/2016/04/25/introducing-yakbak-record-and-playback-http-interactions-in-nodejs/
It has the following benefits over nock:
-
automatic recording of requests that we don't have fixtures for
-
ability to wipe the fixtures directory and then run the tests once to regenerate all of them for an API change
-
can plug in multiple yakbak instances as middleware into a single express (or other framework) mock server, using routing on the URL path to determine which service mocks to provide. If you include a scenario name as the first level of that routing, and assign those fixtures to a distinct directory based on scenario name and service, it aids in quickly deleting and regenerating fixtures on an API change
Metadata
Metadata
Assignees
Labels
No labels