Closed helloitsjoe closed 4 years ago
After talking about this, we've decided to create two separate folders for Enzyme and RTL, with a little duplication (1-components-elements.test.js
will be the same in both folders). Something like this:
awesome-learning-exercises
testing
intro-to-unit-testing
...
component-testing-enzyme
1-components-elements.test.js
2-using-enzyme.test.js
3-user-interaction-enzyme.test.js
component-testing-react-testing-library
1-components-elements.test.js
2-using-react-testing-library.test.js
3-user-interaction-react-testing-library.test.js
Or maybe we pull 1-components-elements.test.js
into its own folder, intro-to-component-testing
This issue is in progress!
We currently only teach Enzyme in our testing course - we talked about replacing Enzyme with RTL, but we could have exercises for both libraries in the course, teaching similar concepts and maybe mirroring the lessons: