Meego Wiki
Views

Quality/QA-tools/Eat

From MeeGo wiki
< Quality | QA-tools
Revision as of 08:03, 8 March 2011 by Timoph (Talk | contribs)
Jump to: navigation, search

Contents

Eat - Enable(s) Automated Testing

Eat is a set of packages that are used to configure environment for automated testing. The packages are

  • eat-device
  • eat-host
  • eat-host-ubuntu
  • eat-syslog-device
  • eat-syslog-host
  • eat-selftest

The packages are available from MeeGo Trunk repository and the Tools:Testing repository. Note that eat-host-ubuntu is only available from Tools:Testing.

Images created for test automation should include packages eat-device and eat-syslog-device in them. These two packages enable OTS to interact with the image without human intervention. For more detailed description see below. While the packages are meant primarily to be used with test automation one can find them useful also in manual testing too.

eat-device

This package is installed to the device under test. The package enabled ssh-key based authentication from a test control (e.g. OTS worker) machine to the device under test.

eat-host

This package is installed to the test control pc. It installs the ssh-key (id_eat_dsa) to the test control pc used to access the device under test. The package has install as it's dependencies testrunner-lite and test-definition.

The package also installs the following scripts under /usr/bin/

  • eat-clear-syslog.sh

This clears the /var/log/testrun.log and it should be called before making a new test run.

  • install-eat-key.sh

Adds the ssh key used with test automation to the user executing the script. Note the the key is installed automatically for the root user.

  • remove-eat-key.sh

Removes the ssh key used with test automation from the user executing the script.

eat-host-ubuntu

This package is installed to test control pc running Ubuntu. The package contains Ubuntu specific eat-host configuration. Please note that this package is only available as a debian package.

eat-syslog-device

This package is installed to the device under test. The package configures the device's syslog so that it is sent to the test control pc.

eat-syslog-host

This package is installed to the test control pc. The package configures the PC's syslog to receive messages from the device under tests. The syslog messages are stored to /var/log/testrun.log

eat-selftest

This package installs an init script to the device under test that runs all test packages found in the device at boot time. The package also installs testrunner-lite and test-definition as it's dependencies. Please note that using this is not the preferred way to do testing. The package is currently more of an case study than something actually meant for day-to-day testing.

Personal tools