Skip to content

chagasaway/tdc-2019

Repository files navigation

TDC 2019

Como testamos React Native no Nubank?

🚀 Setup & Run

Pre-requisites

Setup

Install dependencies with npm

npm ci

Run

Start the application

npm start

✔️ Running unit and integration tests

npm run test:unit
npm run test:integration

✔️ Running E2E tests

Download the latest Expo client from https://expo.io/tools#client and extract it to a folder named bin/Exponent.app inside the project. Run the following commands:

brew tap wix/brew
brew install applesimutils
npm install -g detox-cli
detox test

Do not forget to start the mocked server running the following commands:

cd server
npm start

✨ Running lint

npm run lint