Closed Bug 1633437 Opened 10 months ago Closed 10 months ago

tests metadata

Categories

(Testing :: mozperftest, enhancement)

Version 3
enhancement

Tracking

(firefox77 fixed)

RESOLVED FIXED
mozilla77
Tracking Status
firefox77 --- fixed

People

(Reporter: tarek, Assigned: tarek)

Details

Attachments

(1 file)

Right now tests can be composed of three globals:

  • setUp
  • tearDown
  • test

We'd like to extend these with:

  • owner : name or email. (can be a person or a team)
  • description: a one sentence description of the test
  • long_description: a paragraph, or more

what other metadata could we add? supported browser ? supported platforms?

Will the sample usage will go in the description?
e.g.

./mach perftest testing/performance/perftest_applink.js --android-install-apk ~/fenix.v2.fennec-nightly.2020.04.22.apk --hooks testing/performance/hooks_applink.py --android-app-name org.mozilla.fennec_aurora --perfherder-metrics processLaunchToNavStart

I was thinking that the description would be a plain english sentence of what this test is for,
and then the long_description more details, so maybe that's where we can have a sample usage?

Supported browser and platforms are both good.

This patch adds support for tests metadata. A test script parser is added as
well as a new "doc" flavor that can be used to display the script info in the
command line. This parser will be the basis for building automated docs and
scripts verifications if we want to do this.

Pushed by tziade@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/c4a72c937045
Support for test metadata r=acreskey
Status: NEW → RESOLVED
Closed: 10 months ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla77
You need to log in before you can comment on or make changes to this bug.