Meego Wiki
Views

Quality/QA-tools/TDriver

From MeeGo wiki
(Difference between revisions)
Jump to: navigation, search
(TDriver kickstart)
Line 1: Line 1:
== Testability Driver (TDriver) ==
== Testability Driver (TDriver) ==
-
TDriver is a test automation driver enabling acceptance testingthrough the UI or using business  logic directly. It is written in Ruby language and enables using any test framework written for Ruby.
+
TDriver is a test automation driver enabling acceptance testing through the UI or using business  logic directly. It is written in Ruby language and enables using any test framework written for Ruby.
== Installation on MeeGo ==
== Installation on MeeGo ==

Revision as of 06:37, 3 September 2010

Contents

Testability Driver (TDriver)

TDriver is a test automation driver enabling acceptance testing through the UI or using business logic directly. It is written in Ruby language and enables using any test framework written for Ruby.

Installation on MeeGo

Note! Repo locations will change as soon the official location is decided.

Installing agent to the target SUT

sudo zypper -p http://download.meego.com/live/devel:/quality/testing install qttas-server

This will install the agent. Once you reboot the first time the agent should start automatically. (TODO: This will be changed to lazy load later)

You can start the agent manually by typing:

qttasserver &


Installing driver

sudo zypper -p http://download.meego.com/live/devel:/quality/testing install rubygem-testability-driver-qt-sut-plugin

This will install the ruby gem for handling qt SUTs and all the dependencies like for example ruby interpreter it self.


Testing the installation

You can test the installation using irb easily:

 [matti@matti-desktop tmp]$ irb
irb(main):001:0> require 'tdriver'
=> true
irb(main):002:0> 

If you get 'true' as the result then everything is installed ok and you are set. In case it complains about tdriver not found make sure you have env variable RUBYOPT defined.

export RUBYOPT=rubygems

This will tell ruby to use gem packages.

Personal tools