Files
stf-DeviceFarmer-1/README.md
Gunther Brunner 30bbf430d3 - Forked gulp-protractor .
Changes:
 - Added debug support
 - Added suites support
 - Added element explorer support
2014-08-27 16:36:37 +09:00

60 lines
816 B
Markdown

# STF
### Requirements
- NodeJS
- Bower
- RethinkDB
### Install
- `brew install rethinkdb`
- Make internal npm work
- `brew install protobuf`
- `brew install zmq`
- `npm install -g bower`
- `npm install`
- `bower install`
- `npm link`
### Run
- `rethinkdb`
- `stf local`
### Update
- `git pull`
- `npm install`
- `bower install`
### Tests
## Unit Frontend
- `brew install phantomjs`
- `gulp karma`
## E2E Frontend
### On first run
- `gulp webdriver-update`
### Chrome Local STF
- Connect a device
- Run stf
- `gulp protractor`
### Multiple Browsers Local STF with a specific suite
- Connect a device
- Run stf
- `gulp protractor --multi --suite devices`
### Chrome Remote STF
- `export STF_URL='http://stf-url/#!/'`
- `export STF_USERNAME='user'`
- `export STF_PASSWORD='pass'`
- `gulp protractor`