Skip to content

Commit

Permalink
Minor fix in contribution guide
Browse files Browse the repository at this point in the history
  • Loading branch information
d4vidi authored Nov 8, 2018
1 parent 6a21e6c commit eb1a59e
Showing 1 changed file with 4 additions and 7 deletions.
11 changes: 4 additions & 7 deletions docs/Guide.Contributing.md
Original file line number Diff line number Diff line change
Expand Up @@ -83,24 +83,21 @@ open coverage/lcov-report/index.html
```

#### 2. Running Detox e2e coverage tests
Detox has a suite of e2e tests to test its own API while developing (and for regression). The way we do is is by maintaining a special application that is "tested" against Detox's API, but essentially, it's the API that is tested, not the app.
To run the e2e tests, go to `detox/detox/test`

```sh
cd detox/test
npm run build
```
Detox has a suite of e2e tests to test its own API while developing (and for regression); We maintain a special application that is "tested" against Detox's API, but essentially, it's the API that is tested, not the app.

To run the e2e tests, after the application was built.
To run the e2e tests, you must first build the native code and then run based on your target of choice (Android / iOS):

##### iOS
```sh
cd detox/test
npm run build:ios
npm run e2e:ios
```

##### Android
```sh
cd detox/test
npm run build:android
npm run e2e:android
```
Expand Down

0 comments on commit eb1a59e

Please sign in to comment.