unity-api-bugs team mailing list archive
-
unity-api-bugs team
-
Mailing list archive
-
Message #05369
Re: [Bug 1358356] Re: Run ubuntu-ui-toolkit tests before landing
On Mon, 2014-08-18 at 21:30 +0000, Leo Arias wrote:
> I'm not sure if we have full coverage on ubuntu-app-launch with tests
> from the point of view of the clients.
I'm not sure of anything we're missing, but I'm always welcome to ideas
about what we're not covering. The integration tests are here:
http://bazaar.launchpad.net/~indicator-applet-developers/ubuntu-app-
launch/trunk.14.10/view/head:/tests/manual
> Maybe Ted can comment on the types of tests
> that u-a-l has,
We have unit tests and integration tests. I'm not sure what other
information you're looking for. For a complete look at the tests the
Bazaar repo is the best source.
> Now in addition to that idea of having isolated tests, if all these
> tests are run as autopkgtests, then every time one of the projects tries
> to put a new version on the ubuntu archive, our CI machinery will run
> the tests of its reverse dependencies to make sure that at the distro
> level we are still consistent and don't regress.
Sure, it'd be great if someone was to do that, but it's important to
realize that UIToolkit does not actually depend on UAL. Nor does any
other application, so they won't get run by autopkgtests. Just like
UIToolkit doesn't depend on a particular process scheduler in the
kernel, though it could be drastically effected by it.
--
You received this bug notification because you are a member of Unity API
bugs, which is subscribed to Ubuntu Application Launcher.
https://bugs.launchpad.net/bugs/1358356
Title:
Run ubuntu-ui-toolkit tests before landing
Status in Ubuntu Application Launcher:
Incomplete
Bug description:
Please run UITK autopilot tests before landing changes to launcher to
ensure it didn't break.
This will avoid introducing issues such as this bug:
https://bugs.launchpad.net/ubuntu-app-launch/+bug/1357252
To run the UITK tests, execute the following (copied from the bug
above):
[terminal 1]
1. flash/update device if needed
2. adb shell
3. apt install ubuntu-ui-toolkit-autopilot
4. powerd-cli display on bright # leave running, also unlock the screen so that lenses are shown
[terminal 2]
5. phablet-config autopilot --dbus-probe enable # wait until finishes
6. phablet-test-run ubuntuuitoolkit
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu-app-launch/+bug/1358356/+subscriptions
References