~stolowski/dialer-app/default-department-id-key

77.1.1 by Martin Pitt
add README.testing
1
Test coverage
2
-------------
3
dialer-app has autopilot tests which cover basic use cases like making an
4
outgoing call and receiving an incoming call. They are integration tests which
5
cover dialer-app itself, all the user session APIs below it (libofono-qt,
6
telephony-service, telepathy-ofono), and the ofono service on the system D-BUS.
7
They assume that ofono has been set up with the "phonesim" driver to avoid
8
depending on any particular hardware; if phonesim is not set up, the tests will
9
be skipped.
10
11
The tests should run on both a desktop (like an Ubuntu desktop live session or
77.1.3 by Martin Pitt
fix another typo
12
Otto [http://launchpad.net/otto]) and a phone environment.
77.1.1 by Martin Pitt
add README.testing
13
14
How to run the tests
15
--------------------
16
The easiest and standard way across Ubuntu phablet packages is to install the
17
dialer-app-autopilot package and run the tests from the system Python path:
18
19
  sudo apt-get install dialer-app-autopilot
20
  autopilot run dialer_app
21
22
dialer-app-autopilot depends on ofono-phonesim-autostart to set up the
23
simulated Modem automatically, and all the other additional test dependencies
24
for autopilot. You can also run the tests right out of the source tree for
25
development:
26
27
  cd tests/autopilot
28
  autopilot run dialer_app
29
77.1.2 by Martin Pitt
fix typo
30
(but you still need all the dialer-app-autopilot dependencies installed).