An Insurance Quote app for the Sydney Testers "Faster Tests, Faster Feedback" workshop.
http://sydneytesters.herokuapp.com/
(just google them to find installers):
- git
- ruby 2.0.x
- bundler gem
- chrome
- chromedriver* (http://chromedriver.storage.googleapis.com/index.html?path=2.10/ Unzip chromedriver, copy the unzipped file into any folder in your PATH and then make it executable.)
- phantomjs* (Copy the file into any folder in your PATH and then make it executable.)
* Have included these executables in the "grid" folder
####To set up the project on your machine:
git clone https://github.com/hdushan/quickquote.git
bundle install
####Rake targets to run tests locally:
rake unit
runs unit tests onlyrake chrome
runs cucumber tests using chromerake headless
runs cucumber tests using phantomjsrake
runs unit tests and cucumber tests headless
####To run the app locally:
- In the quickquote folder, run '
shotgun
' - Use a browser to navigate to http://localhost:9393
####Rake targets to run tests against the heroku-hosted app:
rake qa_chrome
runs cucumber tests using chromerake qa_headless
runs cucumber tests using phantomjs
####Selenium Grid: ######To start hub In folder quickquote/grid:
java -jar selenium-server-standalone-2.42.2x.jar -role hub
######To start node (Chrome/OSX) In folder quickquote/grid:
java -jar selenium-server-standalone-2.42.2x.jar -role node -nodeConfig osxchrome.json -port 5556
######To start node (Chrome/Win7) In folder quickquote\grid:
java -jar selenium-server-standalone-2.42.2x.jar -role node -nodeConfig win7chrome.json -Dwebdriver.chrome.driver=Y:\Workspace\quickquote\grid\chromedriver.exe
####Rake targets to run tests parallely against heroku-hosted app (Note: best to have 3 nodes running):
rake qa_chromeparallel
runs cucumber tests parallely using chromerake qa_headlessparallel
runs cucumber tests parallely using phantomjs
####Rake targets to run tests parallely against local app (Note: best to have 3 nodes running, all on the same machine as the server):
rake chromeparallel
runs cucumber tests parallely using chromerake headlessparallel
runs cucumber tests parallely using phantomjs
####Travis build for above webapp: Search for the public repository โquickquoteโ at https://travis-ci.org/