Skip to content

[ENHANCEMENT] Introduce cwd Setting in robot.toml to Specify Start Path for Robot #287

Open
@d-biehl

Description

@d-biehl

Description:
In many projects, RobotFramework tests and their associated libraries are organized in subdirectories. To improve the flexibility and usability of these projects, I propose adding a cwd (current working directory) setting in the robot.toml file. This setting will allow users to specify the start path for robot, making it easier to manage and execute tests located in various subdirectories.

Proposed Changes:

  1. Add a new cwd setting in the robot.toml configuration file.
  2. Modify the RobotFramework execution logic to use the specified cwd as the starting path for test discovery and execution.

Benefits:

  • Enhanced flexibility for projects with complex directory structures.
  • Simplified configuration and execution of tests in subdirectories.
  • Improved usability for teams organizing their tests and libraries in various folders.

Example robot.toml Configuration:

[robot]
cwd = "path/to/tests"

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    Status

    No status

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions