Giter VIP home page Giter VIP logo

quickquote's Introduction

quickquote

An Insurance Quote app for the Sydney Testers "Faster Tests, Faster Feedback" workshop.

URL for the webapp, hosted on heroku:

http://sydneytesters.herokuapp.com/

Things to have setup on your machine

(just google them to find installers):

  1. git
  2. ruby 2.0.x
  3. bundler gem
  4. chrome
  5. 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.)
  6. 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:

  1. git clone https://github.com/hdushan/quickquote.git
  2. bundle install

####Rake targets to run tests locally:

  • rake unit runs unit tests only
  • rake chrome runs cucumber tests using chrome
  • rake headless runs cucumber tests using phantomjs
  • rake runs unit tests and cucumber tests headless

####To run the app locally:

  1. In the quickquote folder, run 'shotgun'
  2. 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 chrome
  • rake 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 chrome
  • rake 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 chrome
  • rake headlessparallel runs cucumber tests parallely using phantomjs

####Travis build for above webapp: Search for the public repository โ€œquickquoteโ€ at https://travis-ci.org/

quickquote's People

Contributors

vijaynyayapati avatar lnkhai avatar

Watchers

James Cloos avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.