Skip to content

Latest commit

 

History

History
35 lines (22 loc) · 1.03 KB

README.md

File metadata and controls

35 lines (22 loc) · 1.03 KB

React Native CLI Testing Sandbox

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.

Requirements

Installation

  • 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.

Running

  • In one terminal, run yarn start
  • In another terminal, run yarn android or yarn ios

E2E Tests

  • Run detox build -c ios.sim.debug (only needs to be run once per native code changes)
  • Run detox test -c ios.sim.debug

License

MIT