The Mer Wiki now uses your Mer user account and password (create account on https://bugs.merproject.org/)
Quality/ExecuteTests
From Mer Wiki
< Quality(Difference between revisions)
Line 1: | Line 1: | ||
− | |||
[[Quality]] | [[Quality]] | ||
− | + | This HowTo describes how to execute test cases or test plans in a target device. In this HowTo we use Mer SDK as a host and Nemo virtual machine as a target, but this guide applies for all other devices too. | |
− | + | ||
− | + | ||
− | + | = Prepare host = | |
Add test exeuction tools repository | Add test exeuction tools repository | ||
sudo zypper ar http://repo.ci.merproject.org/repos/devel:/quality/Core_i486/ mer-testing-tools | sudo zypper ar http://repo.ci.merproject.org/repos/devel:/quality/Core_i486/ mer-testing-tools | ||
− | + | Install execution tools | |
− | + | ||
− | + | ||
− | Install tools | + | |
sudo zypper ref | sudo zypper ref | ||
− | sudo zypper in testrunner-lite | + | sudo zypper in testrunner-lite eat-host |
+ | |||
+ | = Prepare and build target image = | ||
+ | |||
+ | * Check password-less SSH connection | ||
+ | |||
+ | |||
+ | = Tests = | ||
+ | |||
+ | == Test plans == | ||
+ | |||
+ | * [[Quality/Test_coverage]] will have test plans and settings for plans. | ||
== Basic Layer tests (BLTS) == | == Basic Layer tests (BLTS) == | ||
Line 45: | Line 50: | ||
See detailed results: | See detailed results: | ||
cat /var/log/tests/*.result | cat /var/log/tests/*.result | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
[[Category:QA]] | [[Category:QA]] |
Revision as of 08:26, 26 July 2012
This HowTo describes how to execute test cases or test plans in a target device. In this HowTo we use Mer SDK as a host and Nemo virtual machine as a target, but this guide applies for all other devices too.
Contents |
Prepare host
Add test exeuction tools repository
sudo zypper ar http://repo.ci.merproject.org/repos/devel:/quality/Core_i486/ mer-testing-tools
Install execution tools
sudo zypper ref sudo zypper in testrunner-lite eat-host
Prepare and build target image
- Check password-less SSH connection
Tests
Test plans
- Quality/Test_coverage will have test plans and settings for plans.
Basic Layer tests (BLTS)
Install some tests
sudo zypper in blts-bluetooth-tests
Execute tests from the command line
sudo blts-bluetooth -e 1
Execute tests with testrunner-lite
sudo testrunner-lite -f /usr/share/blts-bluetooth-tests/tests.xml -o /tmp/results.xml -v
Middleware tests (MWTS)
Install some tests
sudo zypper in mwts-filesystem-generic-all
Execute tests with testrunner-lite:
testrunner-lite -f /usr/share/mwts-filesystem-generic-tests/tests.xml -o /tmp/result.xml -v
Execute tests with min console UI:
min
Execute tests with min console:
min -c -r "TMP"
See detailed results:
cat /var/log/tests/*.result