Closed Bug 1797509 Opened 2 years ago Closed 2 years ago

mach test --help doesn't inform you that you can learn more about testing harness specific commands by running mach test_harness --help

Categories

(Testing :: General, defect)

defect

Tracking

(firefox108 fixed)

RESOLVED FIXED
108 Branch
Tracking Status
firefox108 --- fixed

People

(Reporter: tgiles, Assigned: tgiles)

Details

Attachments

(1 file)

I've seen a few instances of people not discovering the --verify and --jsdebugger commands for mach test since these commands are specific to the mochitest and xpcshell-test harnesses (I might be using "harness" incorrectly here, feel free to correct me).

As far as I'm able to tell, there's no logical line from mach test --help to mach mochitest --help (or other testing harness). I'm not sure the best way to solve this problem, but maybe an appropriate solution would be to add a line to the general mach test --help saying that you can learn more about specific harness commands by running mach <testing-suite> --help.

Summary: mach test --help doesn't inform you can learn more about testing harness specific commands by running mach <test_harness> --help → mach test --help doesn't inform you can learn more about testing harness specific commands by running mach test_harness --help
Summary: mach test --help doesn't inform you can learn more about testing harness specific commands by running mach test_harness --help → mach test --help doesn't inform you that you can learn more about testing harness specific commands by running mach test_harness --help
Assignee: nobody → tgiles
Status: NEW → ASSIGNED
Pushed by ahalberstadt@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/963d3b67f524
Add help text for determining harness specific arguments. r=ahal
Status: ASSIGNED → RESOLVED
Closed: 2 years ago
Resolution: --- → FIXED
Target Milestone: --- → 108 Branch
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: