touch-packages team mailing list archive
-
touch-packages team
-
Mailing list archive
-
Message #89946
[Bug 1381187] Re: Autopilot tests make back ups for existing data in the user directory
** Project changed: gallery-app => gallery-app (Ubuntu)
--
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to gallery-app in Ubuntu.
https://bugs.launchpad.net/bugs/1381187
Title:
Autopilot tests make back ups for existing data in the user directory
Status in gallery-app package in Ubuntu:
In Progress
Bug description:
Some autopilot suites are run on the current user session. So if they
are run on the developer machine, they can be affected by and can
affect the existing data in the user home folder. For this reason,
this suites make back ups of existing data.
We have found that this is a bad solution for the problem. It makes
the set up code too complex and it needs to be updated every time
somebody makes changes on the way the application stores and handles
its data files. We end up with an unclear patched set up that not
always works and makes the failures harder to diagnose.
Form now on, we have decided that the tests must assume that they are
run in a clean environment. If there are data files in the home
directory that will affect the run, it will fail.
Bug #1376423 was reported to get an easy way to get a clean
environment to run the tests in the dev machine, phone or emulator.
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/gallery-app/+bug/1381187/+subscriptions