Skip to content

shonenada/selenium-demo

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published