Skip to content
This repository was archived by the owner on Mar 5, 2022. It is now read-only.

Commit d8dd37c

Browse files
authored
update comparison table
1 parent 3f69bab commit d8dd37c

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

README.md

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,8 @@ Hi there! We are trying to collect feedback from Cypress users who need componen
2424
Feature | Jest / Enzyme / RTL | Cypress + `cypress-react-unit-test`
2525
--- | --- | ---
2626
Test runs in real browser | ❌ | ✅
27-
Uses full mount | ❌ | ✅
27+
Supports shallow mount | ✅ | ❌
28+
Supports full mount | ✅ | ✅
2829
Test speed | 🏎 | as fast as the app works in the browser
2930
Test can use additional plugins | maybe | use any [Cypress plugin](https://on.cypress.io/plugins)
3031
Test 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 | ✅ | ✅
3435
Test output on CI | terminal | terminal, screenshots, videos
3536
Tests can be run in parallel | ✅ | ✅ via [parallelization](https://on.cypress.io/parallelization)
3637
Test 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 | ✅ | ✅
3841
Code coverage | ✅ | ✅
3942
<!-- prettier-ignore-end -->
4043

0 commit comments

Comments
 (0)