Skip to content

CodingItWrong/RNCLITestingSandbox

Repository files navigation

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

About

Example React Native CLI project set up to play around with Detox and RNTL testing

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published