Skip to content

ROBOT_OPTIONS and REBOT_OPTIONS environment variables for setting default command line options #1566

Closed

Description

@spooning

Originally submitted to Google Code by @pekkaklarck on 6 Nov 2013

These options would allow specifying default values for Robot and Rebot, respectively. In practice options specified by them would be placed in front of any explicit options on the command line.

This feature allows global configuration of options so that they don't need to be repeated every time Robot/Rebot is run. This is especially useful, for example, with --critical or possibly soon added --gherkinprefixes (issue 519).

Activity

  1. spooning commented on Jun 30, 2014

    @spooning
    ContributorAuthor

    Originally submitted to Google Code by @pekkaklarck on 6 Nov 2013

    This issue was updated by revision 6201903f88d8.

    ArgumentParser now supports reading default values from environment variables.
    Next up: Take this support into use w/ Robot and Rebot.

  2. added this to the 2.8.2 milestone on Jun 30, 2014
  3. spooning commented on Jun 30, 2014

    @spooning
    ContributorAuthor

    Originally submitted to Google Code by @pekkaklarck on 6 Nov 2013

    This issue was updated by revision bf5d4626486b.

    Implemented and tested. Documentation in --help and UG missing.

  4. spooning commented on Jun 30, 2014

    @spooning
    ContributorAuthor

    Originally submitted to Google Code by @pekkaklarck on 7 Nov 2013

    This issue was updated by revision 731e55872843.

    Documentation added both to --help texts and to User Guide.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions