Test web app with javascript/css.
Using:
- foreman for process manage.(both development and product env)
- Procfile config for foreman
- 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: