JestTest

Setting up a development environment for ReactNative app with :

  • Linter
  • Unit tests
  • UI tests
  • Code coverage

Linter :

I used Eslint with Standard rules, and I add a rule for keeping semicolon

Unit and UI tests

I used Jest for unit testing and Ui testing with snapshot

Code coverage :

Again I used Jest for code coverage

Useful links :