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

Bug #1381259 reported by Leo Arias on 2014-10-14
This bug affects 2 people
Affects Status Importance Assigned to Milestone
gallery-app (Ubuntu)
Leo Arias

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.

Related branches

Leo Arias (elopio) on 2014-10-15
Changed in gallery-app:
status: New → In Progress
assignee: nobody → Leo Arias (elopio)
affects: gallery-app → gallery-app (Ubuntu)
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers

Related blueprints