Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/shonenada/selenium-demo


https://github.com/shonenada/selenium-demo

Last synced: 26 days ago
JSON representation

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 app

Init Env::

$ gem install foreman
$ npm install -g phontomjs
$ cp .env.sample .env
$ vim .env

Run 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 `_