Meego Wiki
Views

Quality/QA-tools/Eat

From MeeGo wiki
< Quality | QA-tools(Difference between revisions)
Jump to: navigation, search
(Eat - Enable(s) Automated Testing)
(Contact: IRC channel changed)
 
(8 intermediate revisions not shown)
Line 1: Line 1:
= Eat - Enable(s) Automated Testing =
= Eat - Enable(s) Automated Testing =
-
Eat is a set of packages that are used to configure your environment for automated testing. The packages are
+
Eat is a set of packages that are used to configure environment for automated testing. The packages are
* eat-device
* eat-device
* eat-host
* eat-host
 +
* eat-host-ubuntu
* eat-syslog-device
* eat-syslog-device
* eat-syslog-host
* eat-syslog-host
* eat-selftest
* eat-selftest
 +
 +
The packages are available from MeeGo Trunk repository and the [[Quality/QA-tools/How to set up repositories|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 ==
== eat-device ==
-
This package is installed to the device under test, it puts the test control pc's ssh-key (the one in eat-host) to the device's authorized ssh-keys list to enable passwordless logins using ssh.
+
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 ==
== eat-host ==
-
This package is installed to the test control pc. It installs the ssh-key to the test control pc as well as testrunner-lite and test-definition as it's dependencies.
+
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 ==
== eat-syslog-device ==
-
Triggers sending of device syslogs to test control PC.
+
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 ==
== eat-syslog-host ==
-
Enables receiving of syslogs from the SUT.
+
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 ==
== 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.
+
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.
 +
 
 +
== Contact ==
 +
 
 +
If you have any questions regarding Eat, please contact [[Quality/QA-tools|QA tools team]]:
 +
* [http://webchat.freenode.net/?channels=meego-qa #meego-qa IRC channel on irc.freenode.net]
 +
* [http://bugs.meego.com/enter_bug.cgi?product=MeeGo%20Quality%20Assurance File new bugs or improvement ideas to Bugzilla]
 +
* [http://lists.meego.com/listinfo/meego-qa meego-qa@lists.meego.com mailing list]

Latest revision as of 07:59, 24 March 2011

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.

Contact

If you have any questions regarding Eat, please contact QA tools team:

Personal tools