Skip to content

[ENHANCEMENT] Parse robot file in multi process #441

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
studytimesz opened this issue May 14, 2025 · 1 comment
Open

[ENHANCEMENT] Parse robot file in multi process #441

studytimesz opened this issue May 14, 2025 · 1 comment
Labels
enhancement New feature or request

Comments

@studytimesz
Copy link

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 studytimesz added the enhancement New feature or request label May 14, 2025
@d-biehl
Copy link
Member

d-biehl commented May 19, 2025

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants