Closed Bug 607155 Opened 14 years ago Closed 10 years ago

[CLI] mozmill should take command line arguments from a configuration file

Categories

(Testing Graveyard :: Mozmill, enhancement)

enhancement
Not set
normal

Tracking

(Not tracked)

RESOLVED WONTFIX

People

(Reporter: k0scist, Unassigned)

Details

(Whiteboard: [mozmill-2.0-][CLI])

As we get more running parameters, and especially helpful for automation (runs to be repeated many times), mozmill should be able to take arguments from a configuration file.  This should be runnable like

 mozmill -c path/to/conf.file

Subsequent command line arguments would override values in the file.

Two possible file forms:

 - .ini file:  using the [DEFAULTS] section if no section specified (which is "special" in ConfigParser land), otherwise specifiable like

 mozmill -c conf.ini:mysection

 conf.ini may look like:

"""
[mysection]
showall =
app = firefox
binary = /home/jhammel/firefox/firefox
"""

 - a straight command line file:  so you just write the command line arguments to a file which are parsed with file(filename).readlines().split()
Summary: mozmill should take command line arguments from a configuration file → [CLI] mozmill should take command line arguments from a configuration file
Severity: normal → enhancement
This is a nice to have, I think we may do this for 2.1, probably not for 2.0.
Whiteboard: [mozmill-2.0?][CLI] → [mozmill-next?][CLI]
Whiteboard: [mozmill-next?][CLI] → [mozmill-next?][mozmill-2.0-][CLI]
Mozmill will reach its end of life soon. We are currently working on getting all the tests for Firefox ported to Marionette. For status updates please see bug 1080766.
Status: NEW → RESOLVED
Closed: 10 years ago
Resolution: --- → WONTFIX
Whiteboard: [mozmill-next?][mozmill-2.0-][CLI] → [mozmill-2.0-][CLI]
Product: Testing → Testing Graveyard
You need to log in before you can comment on or make changes to this bug.