Tutorial React Testing with Jest and Enzyme

Link Source: Tutorial React Testing with Jest and Enzyme
Thể loại: Lập trình, React
Tags: Học hành, Lập trình


Khóa học React Testing with Jest and Enzyme



Lập trình React, Redux, Hooks and Context Code với Test Driven Development(TDD). Khóa học dưới đây tập trung vào Test trên React nên dành cho các bạn nào đã lập trình qua JavaScript và React / Redux nhé. (Source udemy)


Xem thêm:React Hooks cách dùng các hàm thông dụng cùng với Typescript



Code source:


Course Resources: React Testing with Jest and Enzyme

Note: These are in the order they are presented in the course, with the exception of putting the course repo first.

GitHub Repository for the course
https://github.com/flyrightsister/udemy-react-testing-projects

Creating a React app from scratch
https://medium.com/@JedaiSaboteur/creating-a-react-app-from-scratch-f3c693b84658

https://jestjs.io/docs/en/webpack.html#handling-static-assets

Configuring Jest
https://facebook.github.io/jest/docs/en/configuration.html

Enzyme shallow wrapper documentation
http://airbnb.io/enzyme/docs/api/shallow.html

Enzyme shallow wrapper .find() documentation
http://airbnb.io/enzyme/docs/api/ShallowWrapper/find.html

Enzyme shallow wrapper selector documentation
http://airbnb.io/enzyme/docs/api/selector.html

Enzyme shallow wrapper state documentation
http://airbnb.io/enzyme/docs/api/ShallowWrapper/setState.html
http://airbnb.io/enzyme/docs/api/ShallowWrapper/state.html

Jest expect API
https://facebook.github.io/jest/docs/en/expect.html

Bootstrap 4 “get started” docs
https://getbootstrap.com/docs/4.0/getting-started/introduction/

Enzyme shallow wrapper .prop() method
http://airbnb.io/enzyme/docs/api/ShallowWrapper/prop.html

Kent Dodds Blog Post for Context with Embedded State

https://kentcdodds.com/blog/application-state-management-with-react

 


 


 


 



Link Source: Tutorial React Testing with Jest and Enzyme
Comment