robotcode icon indicating copy to clipboard operation
robotcode copied to clipboard

[ENHANCEMENT] Parse robot file in multi process

Open studytimesz opened this issue 9 months ago • 1 comments

Is your enhancement request related to a problem? Please describe. From output of robotcode extenstion, I saw a lot of process execution one by one for each suite in order, I am not sure, just an proposal, could robotcode execute this parse job in multi process? I mean, if there are a lot of suites/robot files, vscode need lots of time to parse and load these test cases into test tab.

Image

Describe the solution you'd like parse robot/suite in multi process.

studytimesz avatar May 14 '25 09:05 studytimesz

This is not really possible, because that is a feature of robotframework. RobotCode just uses this functionality from Robot Framework.

How many robot files and suites do you have? And how is your project structured? Do you have big folders, means many files, in your project that does not contain robot files, like test data, virtual environments, other source code or what ever?

But there are maybe some other options to make it faster, depending on how your project is structured. Read this https://robotframework.org/robotframework/latest/RobotFrameworkUserGuide.html#suite-directories about where Robot Framework searches for files.

There is is an option in vscode and also in the robot.toml file where you can define on which places robot framework should look for test cases. For VSCode take a look at the setting robotcode.robot.paths for robot.toml see here RobotCode takes also care for .gitignore and .robotignore files

d-biehl avatar May 19 '25 14:05 d-biehl