Skip to content

Documentation update for The Problem section, Enzyme, benefits #43

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Conversation

shawnaxsom
Copy link
Contributor

@shawnaxsom shawnaxsom commented Oct 21, 2018

Summary

Updated to better compare with Enzyme capabilities while highlighting more react-native-testing-library benefits.

It is good for people to know the options (that Enzyme can technically be used currently for deep rendering), but also further sell the potential user on the benefits of react-native-testing-library.

This fixes #24.

I left out links to the Enzyme discussions, as it is up to the maintainers to include those and the goal is to highlight benefits while being fair.

Thanks for your consideration, and providing a great alternative to Enzyme!

Test plan

See enzymejs/enzyme#1873, where I have submitted an Enzyme PR to update testing instructions for Enzyme. There I mention how Enzyme does plan an adapter to support deep rendering, but that is still open, while I also show how jsdom can be implemented in Enzyme to use deep rendering (as we accomplished in our React Native boilerplate solution https://github.com/ProminentEdge/mobile-boilerplate).

…g Enzyme capabilities while highlighting more react-native-testing-library benefits
@thymikee thymikee requested a review from Esemesek October 21, 2018 17:32
@thymikee
Copy link
Member

Thanks @shawnaxsom, appreciated!

@thymikee thymikee merged commit d3146aa into callstack:master Oct 25, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Update README overview comparison to Enzyme
3 participants