-
Notifications
You must be signed in to change notification settings - Fork 1.9k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #117 from dassir/master
Update README.md
- Loading branch information
Showing
1 changed file
with
3 additions
and
28 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |