QA/Automation/Projects/Mozmill Shared Modules/API Refactor: Difference between revisions

From MozillaWiki
Jump to navigation Jump to search
Line 20: Line 20:
  |- valign="top"
  |- valign="top"
  | '''Tracking Bug / Bug List:'''
  | '''Tracking Bug / Bug List:'''
  | TBD
  | {{bug|605343}}
  |- valign="top"
  |- valign="top"
  | '''Documentation:'''
  | '''Documentation:'''

Revision as of 00:05, 20 October 2010

Overview

Lead: Geo Mealer
Co-workers: Henrik Skupin
Dates: No end date set
Status: Exploring new ways to present the Shared API to simplify test scripts.
Repository Location: http://hg.mozilla.org/users/gmealer_mozilla.com/mozmill-refactor/
Tracking Bug / Bug List: bug 605343
Documentation: TBD

Project details

We're exploring different ways to structure and present both Shared APIs and tests. Some values we're optimizing for are:

  • Low learning ramp for writing Mozmill tests
  • Understandable and verifiable test code
  • Repeatable and accurate test runs

Initial ideas center around creating a custom "testing language" by splitting the Shared API into two classes of modules:

  • API modules contain functions for completing complex tasks
  • UI modules contain a map of the Firefox UI used for per-control access.

API modules would be primarily used in setup for tests where fine control isn't needed. UI modules would be used to simulate a QA Engineer running a test.

Some initial ideas for what we're targeting can be found in: