Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/shonenada/selenium-demo
https://github.com/shonenada/selenium-demo
Last synced: 26 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/shonenada/selenium-demo
- Owner: shonenada
- Created: 2014-10-14T15:04:20.000Z (about 10 years ago)
- Default Branch: master
- Last Pushed: 2014-10-17T07:44:54.000Z (about 10 years ago)
- Last Synced: 2024-10-28T03:34:02.044Z (2 months ago)
- Language: Python
- Size: 117 KB
- Stars: 1
- Watchers: 4
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.rst
Awesome Lists containing this project
README
Demo of selenium
===============================================================================Test web app with javascript/css.
Using:
1. `foreman` for process manage.(both development and product env)
2. `Procfile` config for foreman
3. `selenium` for testing web appInit Env::
$ gem install foreman
$ npm install -g phontomjs
$ cp .env.sample .env
$ vim .envRun in development Env::
$ foreman start -f Procfile.dev
Run in product Env::
$ foreman start
Test::
$ py.test tests.py
Export to supervisord.conf::
$ foreman export supervisord ./
Rereferences:
1. `http://phantomjs.org/ `_
2. `http://theforeman.org/ `_
3. `https://github.com/ddollar/foreman `_
4. `https://devcenter.heroku.com/articles/procfile `_