Skip to content
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

[ 2374993 ] Configuration level detail wanted #307

Open
HolQue opened this issue Nov 20, 2024 · 0 comments
Open

[ 2374993 ] Configuration level detail wanted #307

HolQue opened this issue Nov 20, 2024 · 0 comments
Assignees

Comments

@HolQue
Copy link
Collaborator

HolQue commented Nov 20, 2024

          Little goodie wanted:

Sometimes, when I am not so deep inside the TestsuitesManagement stuff any more, it is difficult for me to get the meaning of messages like:

"Running with configuration level 3" (What is the meaning of 3?)

This is similar to those magic numbers in code, that are also not wanted.

With the help of something like

levels_info = {1 : "configuration file in command line",
               2 : "variant name in command line",
               3 : "configuration file in local config folder",
               4 : "default configuration (fallback solution)"}

is is possible to provide feedback about the configuration level in this format:

"Running with configuration level 3 (configuration file in local config folder)"

That is in my opinion more helpful - and is already realized in:

test-fullautomation/RobotFramework_AIO#235 (comment)

If you make levels_info a part of your TestsuitesManagement configuration (e.g. TM.CTestsuitesCfg.oConfig) then you can use this information also at other positions where you write the level number to log files.

Originally posted by @HolQue in #271 (comment)

@namsonx namsonx self-assigned this Dec 11, 2024
@ngoan1608 ngoan1608 changed the title Configuration level detail wanted [ 2374993 ] Configuration level detail wanted Jan 17, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants