Why did I choose to use React testing library instead of Enzyme in the end

Original link: https://medium.com/hannah-lin/%E7%82%BA%E4%BB%80%E9%BA%BC%E6%9C%80%E5%BE%8C%E6%88% 91%E9%81%B8%E6%93%87%E7%94%A8-react-testing-library-%E8%80%8C%E6%94%BE%E6%A3%84-enzyme-2374bb569a60?source =rss—-b1c4573460d3—4

1*k6wW7VmyHB2iEtAUKsgcNw.png

React Testing Library focuses on testing user experience; Enzyme focuses on testing internal implementation details of components such as state, lifecycle, etc.

Continue reading on Hannah Lin »

This article is reproduced from: https://medium.com/hannah-lin/%E7%82%BA%E4%BB%80%E9%BA%BC%E6%9C%80%E5%BE%8C%E6%88% 91%E9%81%B8%E6%93%87%E7%94%A8-react-testing-library-%E8%80%8C%E6%94%BE%E6%A3%84-enzyme-2374bb569a60?source =rss—-b1c4573460d3—4
This site is only for collection, and the copyright belongs to the original author.