This repository was archived by the owner on Mar 5, 2022. It is now read-only.
File tree Expand file tree Collapse file tree 1 file changed +5
-2
lines changed Expand file tree Collapse file tree 1 file changed +5
-2
lines changed Original file line number Diff line number Diff line change @@ -24,7 +24,8 @@ Hi there! We are trying to collect feedback from Cypress users who need componen
2424Feature | Jest / Enzyme / RTL | Cypress + ` cypress-react-unit-test `
2525--- | --- | ---
2626Test runs in real browser | ❌ | ✅
27- Uses full mount | ❌ | ✅
27+ Supports shallow mount | ✅ | ❌
28+ Supports full mount | ✅ | ✅
2829Test speed | 🏎 | as fast as the app works in the browser
2930Test can use additional plugins | maybe | use any [ Cypress plugin] ( https://on.cypress.io/plugins )
3031Test can interact with component | synthetic limited API | use any [ Cypress command] ( https://on.cypress.io/api )
@@ -34,7 +35,9 @@ Re-run tests on file or test change | ✅ | ✅
3435Test output on CI | terminal | terminal, screenshots, videos
3536Tests can be run in parallel | ✅ | ✅ via [ parallelization] ( https://on.cypress.io/parallelization )
3637Test against interface | if using ` @testing-library/react ` | ✅ and can use ` @testing-library/cypress `
37- Spying and mocking | Jest mocks | Sinon library
38+ Spying and stubbing methods | Jest mocks | Sinon library
39+ Stubbing imports | ✅ | ✅
40+ Stubbing clock | ✅ | ✅
3841Code coverage | ✅ | ✅
3942<!-- prettier-ignore-end -->
4043
You can’t perform that action at this time.
0 commit comments