Skip to content
This repository has been archived by the owner on Nov 2, 2020. It is now read-only.

Feature request: Discover variables inside a module/package besides resource file #218

Open
frostming opened this issue May 4, 2018 · 3 comments

Comments

@frostming
Copy link

Robotframework does support import variables by a python module/package, however, there is no IDE or editor plugin which discovers variables imported by this method correctly.

It would be good to support this, because people usually use a large variable library instead of a file.

@aaltat
Copy link
Collaborator

aaltat commented May 4, 2018

There should be support for discovering variables from variable files. As long they are imported in the test data, command line import is not supported. But are you describing something else, because libraries don't resolve to variables.

@frostming
Copy link
Author

Does it search the PYTHONPATH to find the variable module? It seems not from my observation.

@aaltat
Copy link
Collaborator

aaltat commented May 7, 2018

Searching variable files from module search paths is not supported by the plugin. Only libraries are searched from the module search paths. Would you like to make a PR to improve the support.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants