Mock Service Worker
Mocks APIs by intercepting real network requests.
LibraryOpen source
Library that intercepts requests at the network level (browser and Node) to simulate APIs in tests and development, without changing application code.
When to use
To test and develop the front end without depending on a running backend.
When to avoid
If you prefer integration tests against the real backend.
Related
From the same area, with a close purpose.
Generates realistic fake data: names, addresses, text and more.
LibraryOpen source★ 15.5KAutomated accessibility testing engine (WCAG).
LibraryOpen source★ 7.7KMutation testing: measures whether your tests actually catch bugs.
CLIOpen source★ 3.3KStarts real databases and services in disposable containers during tests.
LibraryOpen source★ 2.6K