Giter Site home page Giter Site logo

nakul-0071 / watir_testlink_framework Goto Github PK

View Code? Open in Web Editor NEW
1.0 1.0 0.0 160 KB

Watir TestLink Framework combines a lot of fine software like Watir, TestLink, Rspec, Rake, Junit to make it easy to run large sets of watir test cases on different stages of sites.

License: MIT License

Ruby 100.00%

watir_testlink_framework's Introduction

Watir TestLink Framework

This is a test framework organically grew in the Lingewoud software lab. It combines a lot of other fine software like Watir, TestLink, Rspec, Rake, Junit etc.. to make it easy to run large sets of test cases on different stages of sites.

The Watir TestLink Framework can be used be a developer on his desktop but can also be easily integrated in a CI server like Jenkins. (see: https://github.com/mipmip/jenkins-workflow-typo3)

Use it in your web project testing project.

Major Features:

  • Provides TestLink RPC connection
  • Run test plans from testlink
  • Implements the Watir Page Object Pattern

Minor Features

  • Web page screenshots
  • Convert testlink requirements to rspec cases
  • Export rspec cases to a testlink testcase xml file

Compatibility

  • Only tested with TestLink 1.9.13

Installation

Add these lines to your application's Gemfile:

# This is needed as long as turboladen didn't merge
gem 'test_linker', :git => 'https://github.com/mipmip/test_linker.git'
gem 'watir_testlink_framework'

And then execute:

$ bundle

Usage

Copy Rakefile.sample and config.yml.sample to your project dir.

Create a spec dir with naming like myfile_spec.rb

Type ./bin/rake -T to list all rake commands. ATOW:

rake spec                                  # Run all specs with doc output
rake testlink:cases_import                 # Run all specs with xml output for cases import in testlink
rake testlink:plan[testplan]               # run plan by testplan name
rake testlink:plan_ci                      # run continuious intergration plan
rake testlink:plan_production              # run production testplan
rake testlink:req2spec[requirements_file]  # Creates a spec file with all cases from TestLink requirements export
rake testlink:spec                         # Run spec(s) with junit output

Contributing

  1. Fork it ( https://github.com/Lingewoud/watir_testlink_framework/fork )
  2. Create your feature branch (git checkout -b my-new-feature)
  3. Commit your changes (git commit -am 'Add some feature')
  4. Push to the branch (git push origin my-new-feature)
  5. Create a new Pull Request

watir_testlink_framework's People

Contributors

mipmip avatar

Stargazers

AMZ avatar

Watchers

James Cloos avatar

Forkers

nakul-007

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.