This is an example React Native CLI project set up to play around with Detox and RNTL testing. There is a sample test for each that is configured to run locally and on GitHub Actions.
See the history of the GitHub Actions runs.
- Clone the repo
- Run
yarn install - Run
cd ios && pod install
Dependencies are locked with yarn.lock; please use yarn rather than npm for installing.
- In one terminal, run
yarn start - In another terminal, run
yarn androidoryarn ios
- Run
detox build -c ios.sim.debug(only needs to be run once per native code changes) - Run
detox test -c ios.sim.debug
MIT