Meego Wiki
Views

Quality/QA-tools/MCTS test automation design/poc-implementation

From MeeGo wiki
Jump to: navigation, search

Contents

Required components

Building and installing required components

OpenAMQ

tar xzvf OpenAMQ-1.3d1.tar.gz
cd OpenAMQ-1.3d1
IBASE=$PWD/ibase sh build.sh

We need to install archives and headers to system directories

sudo mkdir /usr/local/openamq
sudo mkdir /usr/local/openamq/lib
sudo mkdir /usr/local/openamq/include
sudo cp ibase/lib/*.a /usr/local/openamq/lib
sudo cp ibase/include/*.h /usr/local/openamq/include

JSON

tar xzvf json-c-0.9.tar.gz
cd json-c-0.9
./configure
make
sudo make install
sudo ldconfig

Testrunner-lite

Testrunner-lite using OpenAMQ and JSON for event messaging can be found from a testrunner-lite clone in branch multidut.

In this proof of concepts, a separate testrunner-lite processes are used to run tests on each DUT. This produces multiple result XML files and requires a tool which is able to combine the results.

Current status 20.12.2010

Testrunner-lite is able to send and receive events through OpenAMQ message broker. Event data is serialized in JSON format and data is carried in body of AMQP message.

Currently special test steps (ones with event attribute) can be used to send an event or wait for event. This way execution of two distinct test runs can be synchronized. Also test steps may generate/receive events.

Personal tools