DEV Community

Discussion on: Using a mock server with Cypress

Collapse
 
ekeijl profile image
Edwin

I like the idea of collections and variants, still I prefer to use Mock Service Worker because it does not require me to run a separate server.

Collapse
 
javierbrea profile image
Javier Brea • Edited

Thanks @ekeijl , that's a good point! Anyway, a separate server would allow to reuse the same mock for testing or development in another technologies apart from front-end or Node.js. But it is interesting, maybe a mechanism could be added to Mocks Server in order to allow reusing the same mock definitions and all other features, but intercepting the requests instead of running a real server.