Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update README.md #117

Merged
merged 2 commits into from
Apr 25, 2017
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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