← Back to team overview

touch-packages team mailing list archive

[Bug 1381259] Re: Autopilot tests start the app using a method in the parent test case

 

** 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/1381259

Title:
  Autopilot tests start the app using a method in the parent test case

Status in gallery-app package in Ubuntu:
  In Progress

Bug description:
  Most of the autopilot tests launch the apps calling a method defined
  in the parent test case.

  This is problematic because it forces us to use a hierarchy of test
  cases. Also, it becomes hard to run different set up steps before
  launching an app.

  Instead of defining launching as methods in a test case class, we
  should make a fixture for the launching. This way we could rely on
  composition instead of inheritance of test case classes, it will keep
  the launching encapsulating making it easier to change, and each test
  case can launch the app at the right moment.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/gallery-app/+bug/1381259/+subscriptions