robotcode icon indicating copy to clipboard operation
robotcode copied to clipboard

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

Open jhartika opened this issue 1 year ago • 5 comments

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]

jhartika avatar Oct 16 '24 08:10 jhartika