beforeAll(() => unmock()).
There is no step 2. Unmock intercepts your HTTP traffic, creates just-in-time semantically and functionally accurate mock data, and serves it back to you.Watch the demo
There is no step 3 either, but did we mention that you can upload your own APIs to unmock? You can also easily simulate errors, monitor production API calls and a whole lot more. We are also releasing Kotlin, Swift, and Go clients soon. Stay tuned!Read the docs
* Automatic, semantically accurate mocks of 100s of APIs, growing every day.
† Zero-configuration organization of mocks on a per-test basis, where each mock is linked to the previous one in a test to tell a "story."
‡ One-click non-deterministic behavior, with random regenerated data and indeterminate errors for smoke testing and negative testing.
** Stories that preserve states between mocks, like retaining posted data, etc.
Unmock pro is free forever for community-driven open source projects. Applying for a free license is simple: just send us an email with a link to your project page to get the ball rolling.