zoukankan      html  css  js  c++  java
  • jruby+watir-webdriver+cucumber自动化测试环境配置

    1.安装java运行时环境,且配置环境变量

    2.安装jruby环境,建议选择安装1.6.8或1.6.7版本的

    3.安装需要的gem包

    gem install activerecord -v='3.0.5'

    gem install activerecord-jdbc-adapter -v='1.1.3'

    gem install arel -v='2.2.1'

    gem install color -v='1.4.1'

    gem install cucumber -v='1.2.1'

    gem install i18n -v='0.6.0'

    gem install jruby-openssl -v='0.7.4'

    gem install rack -v='1.3.2'

    gem install rest-open-uri -v='1.0.0'

    gem install ruby-debug

    gem install watir-webdriver -v='0.6.4'

    gem install jruby-memcached -v='0.5.0'

     gem install rspec -v="2.13.0"

    可用的gem版本环境

    activemodel (3.0.5)
    activerecord (3.0.5)
    activerecord-jdbc-adapter (1.1.3)
    activesupport (3.0.5)
    addressable (2.2.8)
    arel (2.2.1, 2.0.10)
    bouncy-castle-java (1.5.0146.1)
    builder (2.1.2)
    childprocess (0.3.3)
    color (1.4.1)
    columnize (0.3.6)
    cucumber (1.2.1)
    diff-lcs (1.1.3)
    ffi (1.0.11 java)
    gherkin (2.11.1 java)
    httpclient (2.3.3)
    i18n (0.6.0)
    jruby-memcached (0.5.0)
    jruby-openssl (0.7.4)
    jruby-win32ole (0.8.5)
    json (1.7.6 java, 1.7.3 java)
    libwebsocket (0.1.3)
    math (0.0.1)
    multi_json (1.3.6)
    mysql (2.8.1 x86-mswin32)
    rack (1.3.2)
    rake (0.8.7)
    rdoc (3.12)
    rest-open-uri (1.0.0)
    rspec (2.13.0)
    rspec-core (2.13.1)
    rspec-expectations (2.13.0)
    rspec-mocks (2.13.1)
    ruby-debug (0.10.4)
    ruby-debug-base (0.10.4 java)
    rubygems-update (1.8.9)
    rubyzip (0.9.9)
    selenium-webdriver (2.24.0)
    sources (0.0.1)
    tzinfo (0.3.33)
    watir-webdriver (0.6.1)

  • 相关阅读:
    jQuery基础一
    JavaScript基础三
    JavaScript基础二
    JavaScript基础一
    POJ
    UVA
    HDU
    Gym
    POJ
    HDU
  • 原文地址:https://www.cnblogs.com/dami520/p/3169826.html
Copyright © 2011-2022 走看看