This issue is more React Native Testing related that specific to react-native-testing-library.
And hope discussion will help others to understand React Native Testing approach.
A long time ago I wrote some tests with enzyme, but did like the experience and ignored tests on components.
Now I want to start again. Heard about react-native-testing-library in a podcast. Researching how to test react-native I found @testing-library/react-native and detox.
While react-native-testing-library/@testing-library/react-native are component base testing the detox is e2e testing.
So I have several questions:
react-native-testing-library and @testing-library/react-native or it is a preference choice?detox if I am using react-native-testing-library or @testing-library/react-native?react-native-testing-library or @testing-library/react-native if I am using detox?detox together with react-native-testing-library or @testing-library/react-native, what should I test with react-native-testing-library and what with detox?
Most helpful comment