1
Running autopilot tests
2
=======================
7
Install the following autopilot packages required to run the tests,
8
sudo apt-get install python-autopilot libautopilot-qt ubuntu-ui-toolkit-autopilot
17
bzr branch lp:ubuntu-clock-app/reboot
18
2. Navigate to the tests/autopilot directory.
19
cd ubuntu-clock-app/reboot/tests/autopilot
21
$ autopilot run -vv ubuntu_clock_app
24
$ autopilot list ubuntu_clock_app
26
To run only one test (for instance: test_add_single_type_alarm_must_add_to_alarm_list in TestAlarm.py):
27
$ autopilot run -vv ubuntu_clock_app.tests.test_alarm.TestAlarm.test_add_single_type_alarm_must_add_to_alarm_list
36
1. navigate to the directory where the ubuntu-clock-app branch is and run:
37
$ adt-run ubuntu-clock-app --click=com.ubuntu.clock.devel --- ssh -s /usr/share/autopkgtest/ssh-setup/adb