Skip to content

[QUESTION] Unable to use non-default robot.toml configuration when running tests from VSCode GUI #333

Open
@jhartika

Description

@jhartika

I want to have my robot.toml configuration in non-default locations.
For most part this works fine

  • I can run tests through CLI nicely by passing the correct robot.toml in with --config
  • VSCode language server works nicely if I configure robotcode.languageServer.extraArgs

What does not work for me is running/debugging tests with VSCode

  • If I configure robotcode.extraArgs they do not seem to get passed to the robotcode when starting test runs from VSCode GUI (Testing View or Editor). Test runs are started with robot.toml configuration in one of the default paths instead.

Is there an option I am missing that would allow me to configure which robot.toml file to use when starting test runs from VSCode GUI?

  • VS Code Version 1.94.0
  • RobotCode Version [0.93.1]
  • OS: [Windows 10]
  • Python Version [3.11.8]
  • RobotFramework Version [7.0.0]

Metadata

Metadata

Assignees

Labels

questionFurther information is requested

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions