Skip to content

Commit

Permalink
Corrects readme
Browse files Browse the repository at this point in the history
  • Loading branch information
mathanpec committed Nov 19, 2019
1 parent 4a475a9 commit aed1bc3
Showing 1 changed file with 5 additions and 7 deletions.
12 changes: 5 additions & 7 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,4 @@
> detox
# React Native Cucumber Integration
# React Native Detox Cucumber Integration

This integration is mainly tested against android. But there shouldn't be any problem with ios also.

Expand All @@ -12,21 +10,21 @@ This integration is mainly tested against android. But there shouldn't be any pr
* react-native-cli is installed (`npm install -g react-native-cli`)
* watchman is installed (`brew install watchman`)

### Step 1: Npm install
### Step 1: Adding dependencies

* Make sure you're in folder `examples/demo-react-native-cucumber`.
* Make sure you're inside your git cloned folder `react-native-detox-cucumber`.
* Run `yarn`.

## To test Release build of your app
### Step 2: Build
* Build the demo project
* Build the project

```sh
detox build --configuration android.emu.release
```

### Step 3: Test
* Run tests on the demo project via cucumber command.
* Run tests on the project via cucumber command.

```sh
node_modules/.bin/cucumber-js ./e2e/features --require-module @babel/register --configuration android.emu.release
Expand Down

0 comments on commit aed1bc3

Please sign in to comment.