Giter Site home page Giter Site logo

show-me-the-ids's Introduction

Quality assistance for show me the ids extension

Environment

To run the Selenium webdriver tests you will have to install Ruby (look at .ruby-version and ruby-gemset files for the exact version), the latest versions of Firefox and Chrome. The easiest way to install Ruby on Linux/Unix/MacOs is RVM and on Windows RubyInstaller.

MacOs requires XCode, and Xcode command line tools. To install XCode cmd line tools, choose XCode->Preferences->Downloads. After you have installed latest rvm (or if you already have one be sure to check for the latest version):

rvm install ruby_from_dot_ruby-version_file

Clone repository:

git clone [email protected]:karlosmid/show-me-the-ids.git

Install required gems:

cd show-me-the-ids
bundle install

To update to latest gem versions, run

bundle update

Windows environment

Install github for windows. Notice github shell program.
Install Ruby RubyInstaller and appropriate development kit. For Ruby leave default folder and check all three checkboxes. For devkit do not leave default extract folder, at the add end some descriptive name. For devkit follow installation instructions.
Install ansicon
Install 32 or 64 bit IEDriverServer

Go to step clone repository.

Install required gems:

cd show-me-the-ids
gem install bundler
bundle install

To update installed gems run

gem update bundle
bundle update

Browser drivers

To run test in headless mode (when you have need for speed), you should install latest phantomJS. phantomjs binary must be in you os system path. For linux this is /usr/local/bin/ folder and for Windows add browser driver folder to windows path.

To run browser tests in Chrome, you have to download latest chromedriver, unzip it and put it on system path (follow phantomjs instructions above).

Prepare environment:

touch config/application.yml

application.yml content:

# for testing
SITE: http://webix.com/demos/booking.html
BROWSER_LABEL: chrome
PAGE_TIMEOUT: 5

To run a single test enter
cd test cucumber features/check_ids.feature.

Git workflow

We are using following workflow

show-me-the-ids's People

Contributors

karlosmid avatar

Stargazers

Leo Booth avatar Ian Bannerman avatar

Watchers

 avatar James Cloos avatar Ian Bannerman 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.