Enzyme

Testing

Lib

Vs

React

Counter

Button Group

Enzyme

Libs

Core
Adapter
Utils

Config

setupTests.js

Counter

Test

Button Group

Test

Testing

Lib

Libs

React
Jest

Config

setupTests.js

Counter

Test

Button Group

Test

CheatSheet

No Match
getBy
findBy
queryBy
getAllBy
1 Match
1+ Match
Await ?
findAllBy
queryAllBy
throw
throw
throw
throw
throw
throw
throw
null
[]
No
No
No
No
Yes
Yes
array
array
array
array
array
array
return
return
return

Cypress

Libs

Core
Test

"Une démo...

... Vaut Mieux que mille Mots"

Testing Lib

By Damien Chazoule

Testing Lib

Enzyme Vs Testing Lib (React & Cypress)

  • 127