Hello Mahmoud! 👋
I think Cypress is so versatile that you could actually use it for unit, integration and e2e altogether. For example, they have a section about unit testing in the docs -> docs.cypress.io/examples/examples/...
I believe it's also suited for integration tests. In terms of web apps, integration tests don't have a stric definition what they consist of. For example, an integration test could be a storybook story with cypress network mocks, but it's also amazing for e2e. Unit testing is feasible, but I still prefer Jest for that.
What do you use for unit and integration?
I got you, I'm using Jest for both Unit and Integration testing and cypress for e2e, but now I may try to use cypress in integration testing as well!
We're a place where coders share, stay up-to-date and grow their careers.
We strive for transparency and don't collect excess data.