Project bootstrap with
react-native initand configured with Detox to provide End-to-End testing
~ git clone https://github.com/anton-pango/react-native-detox-task
~ cd e2e-react-native-detox
~ yarn~ cd ios; pod install; cd -;
~ react-native run-ios~ react-native run-androidDetox is an End-to-End framework focused in mobile applications, in this case it's being used to run tests for a React Native application.
In order to run the tests, first you need to compile the application:
~ yarn e2e:ciIf ios build fails with xcode 12.5 next fix will help: react-native-community/cli#1365 (comment)
TODO:
- Add detox configuration for android
- Create 3-5 tests to cover the App functionality
- Make sure all tests passed successfully on both platforms
-
Source Code: Either of the following ways to bundle the code, whatever is easier for you:
- A
zipfile containing the whole project. Remember to skip binaries, logs, etc. if you choose this option. - A link to an accessible private repository with your work in (Github or Bitbucket).
- A
-
Documentation / Instructions: You can bundle it together with the code.
- Add instructions to
Readme.mdon how to run tests - A screenshot of command line or screen record with passed tests on both platform
- Add instructions to
MIT.
