Skip to content

GoCD Functional tests in ruby - using capybara, webdriver and Gauge

License

Notifications You must be signed in to change notification settings

yankurk/ruby-functional-tests

 
 

Repository files navigation

Gauge Badge

Pre-Requisites

Setup

  • git clone as a sibling directory to go.cd and go-plugins
  • $ cd ruby-functional-tests
  • $ gauge --install-all

Prepare and run specs

  • cd to ruby-functional-tests and run : $ bundle install --path=vendor/bundle
  • To clean, build, prepare and run specs, execute this command bundle exec rake GO_VERSION='X.x.x' GAUGE_TAGS='<spec tags to run>'
  • To run specific task(s), execute this command bundle exec rake [kill/clean/build_all/prepare/test] GO_VERSION='X.x.x' GAUGE_TAGS='<spec tags to run>'
    • kill - Kills all running processes spun by the tests.
    • clean - Cleans all directories (ruby-functional-tests/target, ruby-functional-tests/reports, gocd, go-plugins).
    • build_all - Builds server, agent, plugins and test-addons if running in development mode.
    • prepare - Initializes the filesystem to run tests.
    • test - Runs the gauge tests with specified tags.

License

Copyright 2017 ThoughtWorks, Inc.

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at

    http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.

About

GoCD Functional tests in ruby - using capybara, webdriver and Gauge

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Ruby 98.0%
  • Python 2.0%