Skip to content

Commit

Permalink
Merge pull request #117 from dassir/master
Browse files Browse the repository at this point in the history
Update README.md
  • Loading branch information
rotemmiz authored Apr 25, 2017
2 parents 5afec01 + 3574a7a commit be35edb
Showing 1 changed file with 3 additions and 28 deletions.
31 changes: 3 additions & 28 deletions examples/demo-native-android/README.md
Original file line number Diff line number Diff line change
@@ -1,32 +1,7 @@
> detox
# Pure Native Demo Project
# Pure Native Android Demo Project
Android is not supported in detox yet.
This project is here for development purposes and is not working at the moment.

## Requirements

* make sure you have Xcode installed (tested with v7.3)
* iPhone 6s iOS 9.3 simulator is installed
* make sure you have node installed (`brew install node`, tested with v6.2.2)
* npm is installed (tested with v3.9.5)

## Step 1: Install the demo project

* make sure you're in folder `detox/demo-native`
* run `npm install`

## Step 2: Run a local detox-server

* run `./node_modules/.bin/detox-server`
* you should see `server listening on localhost:8099...`

## Step 3: Build and run the demo project

* open `ios/NativeExample.xcodeproj` in Xcode and build it
* the successful build results should be in `ios/build/Products/Debug-iphonesimulator`

## Step 4: Run the e2e test

* make sure you're in folder `detox/demo-native`
* make sure successful build results are in `ios/build/Products/Debug-iphonesimulator`
* run `npm run e2e`
* this action will open a new simulator and run the tests in it

0 comments on commit be35edb

Please sign in to comment.