Skip to content

chagasaway/tdc-2019

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ccdeef5 · Apr 24, 2019

History

59 Commits
Apr 4, 2019
Apr 24, 2019
Apr 23, 2019
Apr 23, 2019
Apr 23, 2019
Apr 20, 2019
Apr 4, 2019
Apr 16, 2019
Apr 24, 2019
Apr 8, 2019
Apr 23, 2019
Apr 23, 2019
Apr 24, 2019
Apr 24, 2019
Apr 24, 2019
Apr 23, 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